日期:2014-05-16  浏览次数:20382 次

sql 作业备份数据库
declare @filename nvarchar(100) 
set @filename='E:\localhrbBack\local_back'+convert(char(10),getdate(),112) 
print @filename BACKUP DATABASE [localhrb] 
TO DISK = @filename WITH NOINIT , NOUNLOAD , NAME = N'localhrb', NOSKIP , 
STATS = 10, NOFORMAT

?