Dela via


Managing Services from the Command Prompt How-to Topics (net Commands)

The Database Engine and SQL Server Agent run as services. You can start, pause, and stop the services with SQL Server Configuration Manager. From the command prompt you can also start, pause, and stop the Database Engine service using the net commands (net startnet pause, and net stop, respectively). You can also manage the service using the sqlservr.exe program, but typically the sqlservr.exe program is only used for troubleshooting or major maintenance. For more information about services, see Managing the Database Engine Services.

This section covers the following topics related to managing the services from the command prompt by using the net commands.

In This Section