Sql Server 数据库作业备份

DECLARE @fileName nvarchar(100)
SET @fileName='C:\DataBase_Back\Base' + REPLACE(REPLACE(REPLACE(REPLACE(CONVERT(VARCHAR(100), GETDATE(), 121), ' ', ''), ':', ''), '-', ''), '.', '') + '.bak'
BACKUP DATABASE [BaseData] TO DISK = @fileName WITH NOINIT , NOUNLOAD , NAME = N'数据库-备份', NOSKIP , STATS = 10, NOFORMAT

Sql Server 数据库作业备份

上一篇:git提示error setting certificate verify locations以及fatal: unable to access 的解决办法


下一篇:text-justify实操