用命令启动或停止SQL Server 2005 服务
用命令启动或停止SQL 2005批处理。
STOP:
@echo off @ECHO停止SQL Server 2005 服务 net stop "SQL Server (MSSQLSERVER)" net stop "SQL Server Analysis Services (MSSQLSERVER)" net stop "SQL Server Browser" net stop "SQL Server FullText Search (MSSQLSERVER)" @ECHO 停止完毕 按任意键继续 pause exit
START:
@echo off @ECHO启动SQL Server 2005 服务 net start "SQL Server (MSSQLSERVER)" net start "SQL Server Analysis Services (MSSQLSERVER)" net start "SQL Server Browser" net start "SQL Server FullText Search (MSSQLSERVER)" @ECHO 启动完毕 按任意键继续 pause exit
By:Colin(刘飞)
博客地址:http://www.cnblogs.com/colinliu/
博客版权:本文以学习、记录、分享为目的。欢迎大家转载,但务必注明原文地址,谢谢合作!
博客版权:本文以学习、记录、分享为目的。欢迎大家转载,但务必注明原文地址,谢谢合作!