启用xp_cmdshell执行脚本
-- 启用xp_cmdshell
EXEC sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
EXEC sp_configure 'xp_cmdshell', 1
GO
--重新配置
RECONFIGURE
GO
--执行脚本
EXEC xp_cmdshell 'D:\Documents\Working Folder\ScanPack\Update\exe\SqlDataToExcel.exe'

浙公网安备 33010602011771号