--启用xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO
----xp_cmdshell { 'command_string' } [ , no_output ]
--执行
EXEC xp_cmdshell 'C:SendpnemailReplyPn.exe'
--启用xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO
----xp_cmdshell { 'command_string' } [ , no_output ]
--执行
EXEC xp_cmdshell 'C:SendpnemailReplyPn.exe'