How can stop and start the SQL services?

Neil Pike

March 4, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Also see Starting and Stopping Services on a Remote Computer

A. A. SQL has three services

  • MSSQLServer

  • SQLExecutive

  • MSDTC

The MSSQLServer service controls if the SQL Server is running and allowslogons/transactions. The SQLExecutive service is used for alerts, schedulingand other management tasks.

MSDTC is the Distributed Transaction Coordinator and is used for consistencybetween server transactions and is beyond the scope of the FAQ.

These services can both be stopped/started from the Services control panelapplet and you can also configure them to automatically start at bootup time byselecting one of them, clicking Startup and set to Automatic. Repeat for theother service.

To stop/start from the command line use

C:> net stop MSSQLServer
C:> net stop SQLExecutive
C:> net start MSSQLServer
C:> net start SQLExecutive

SQL actually comes with its own service manager (Start - Programs -Microsoft SQL Server 6.5 - SQL Service Manager) which enables you tostart/start/pause (pause is not available for SQLExecutive) services on variousSQL machines. It also shows the current state of the services in a trafficlight, ahhhh :-)

Click here to view image

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like