--启用xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO
----xp_cmdshell { 'command_string' } [ , no_output ]
--执行
EXEC xp_cmdshell 'C:\Sendpnemail\ReplyPn.exe'
ling-cun 2018-05-31 09:44 原文
--启用xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO
----xp_cmdshell { 'command_string' } [ , no_output ]
--执行
EXEC xp_cmdshell 'C:\Sendpnemail\ReplyPn.exe'