declare @name varchar(250)
set @name='D:\testBak\'+
convert(varchar(50),getdate(),112)+'.bak'
BACKUP DATABASE [DATA] TO
DISK = @name
WITH NOFORMAT, NOINIT,
NAME = N'DATA-完整 数据库 备份',
SKIP, NOREWIND, NOUNLOAD
declare @name varchar(250) set @name='D:\testBak\'+ convert(varchar(50),getdate(),112)+'.bak' BACKUP DATABASE [DATA] TO DISK = @name WITH NOFORMAT, NOINIT, NAME = N'DATA-完整 数据库 备份', SK