2006年5月31日

摘要: DECLARE @result int EXEC @result = xp_cmdshell 'net start SQLSERVERAGENT' IF (@result = 0) PRINT 'Success' ELSE PRINT 'Failure' EXEC @result = xp_cmdshell 'net stop SQLSERVERAGENT' IF (@result =... 阅读全文

posted @ 2006-05-31 18:25 C#Hunter 阅读(492) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3