数据库备份脚本
DECLARE @strPath NVARCHAR(200)
set @strPath = replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','')
set @strPath = REPLACE(@strPath, ':' , '.')
set @strPath = 'E:\Backup\Mis.Backup\Mis_' + @strPath + '.bak'
BACKUP DATABASE Mis TO DISK = @strPath WITH NOINIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT