Caution
If you start SQL Server
from a command prompt, you cannot stop or pause it by using SSMS,
Configuration Manager, or the Services applet in the Control Panel. You
should stop the application only from the command prompt window in
which SQL Server is running. If you press Ctrl+C, you are asked whether
you want to shut down SQL Server. If you close the command prompt
window in which SQL Server is running, SQL Server is automatically shut
down.
sqlservr [-sinstance_name] [-c] [-dmaster_path] [-f]
[-eerror_log_path] [-lmaster_log_path] [-m]
[-n] [-Ttrace#] [-v] [-x] [-gnumber] [-h]
Tip
If you simply want to start the SQL Server service from the command prompt, you can use the NET START and NET STOP
commands. These commands are not SQL Server specific but are handy when
you want to start or stop SQL Server, especially in a batch file. The
SQL Server service name must be referenced after these commands. For
example, NET START MSSQLSERVER starts the default SQL Server instance.