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 阅读(485) 评论(0) 推荐(0) 编辑


Copyright © 2024 C#Hunter
Powered by .NET 8.0 on Kubernetes