用命令启动或停止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(刘飞)