日期:2014-05-17 浏览次数:20810 次
exec xp_cmdshell 'md E:\sqldiffBackups\%date%' SET @backup_path='E:\sqldiffBackups\"%date%'
DECLARE @backup_path VARCHAR(100) SET @backup_path='E:\sqldiffBackups\'+CONVERT(VARCHAR(8),GETDATE(),112) EXEC master.dbo.xp_create_subdir @backup_path;
------解决方案--------------------