摘要:
转自: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 阅读全文