Thursday, February 9, 2012

SQL SERVER – Start Stop Restart SQL Server From Command Prompt


Click Start >> Run >> type cmd to start command prompt.

Start default instance of SQL Server
net start mssqlserver

Stop default instance of SQL Server
net stop mssqlserver

Start and Stop default instance of SQL Server.
You can create batch file to execute both the commands together.




No comments:

Post a Comment