数据库操作语句
2010-05-28 17:30 飞逝心情 阅读(176) 评论(0) 编辑 收藏 举报先来说说备份
declare @backFile varchar(50) select @backFile='F:\MyProject\YMQManage-'+CONVERT(varchar(100), GETDATE(), 10) BACKUP DATABASE [YMQManage] TO DISK =@backFile WITH NOFORMAT, NOINIT, NAME = N'YMQManage-backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 GO