2005年10月25日
摘要: 2004-7-21日的下午我们的数据库出了问题,最后终于在网上找了一篇文章把数据库恢复了!! SQL Server数据库备份有两种方式,一种是使用BACKUP DATABASE将数据库文件备份出去,另外一种就是直接拷贝数据库文件mdf和日志文件ldf的方式。下面将主要讨论一下后者的备份与恢复。本文假定您能熟练使用SQL Serve... 阅读全文
posted @ 2005-10-25 19:05 杜冠魁 阅读(215) 评论(0) 推荐(0) 编辑
摘要: DECLARE @oldPath varchar(480)select @oldPath = path from CMS_Categories where CategoryID = @CategoryID UPDATE CMS_Categories SET Path = STUFF(Path, 1, LEN(@oldPath), @path) where path like @oldPath +... 阅读全文
posted @ 2005-10-25 12:38 杜冠魁 阅读(284) 评论(0) 推荐(0) 编辑