懒码农。。。。。。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年5月8日

摘要: 转自:http://www.fovweb.com/web/sqlserver-backup.htmlDECLARE @strPath NVARCHAR(200)set @strPath = convert(NVARCHAR(19),getdate(),120)set @strPath = REPLACE(@strPath, ':' , '.')set @strPath = 'D:\DB_BAK\' + 'JXC'+@strPath + '.bak'BACKUP DATABASE [JXC] TO DISK = @s 阅读全文
posted @ 2013-05-08 14:44 阿彬 阅读(162) 评论(0) 推荐(0) 编辑