远程开启sqlserver服务
EXEC master..xp_cmdshell "net start sqlserveragent" --启动服务
EXEC master..xp_cmdshell "net stop sqlserveragent" --停止服务
EXEC master..xp_cmdshell "net stop sqlserveragent" --停止服务
posted @ 2006-01-24 10:08 六月芳菲 阅读(81) 评论(0) 编辑
2006年1月24日 #
posted @ 2006-01-24 10:08 六月芳菲 阅读(81) 评论(0) 编辑