As mfinni said, net stop mssqlserver or similar will do it from the command line. To add to that, from the GUI in SSMS, you can right click the instance name and hit "Stop".
You can also stop/start/restart SQL from the SQL Configuration Manager application.
You can also use Stop-Service -Force -Name 'MSSQL$SQLEXPRESS' if you want it in PowerShell. Substitute MSSQL$SQLEXPRESS with your SQL Server instance name.
Will do it. The servicename will depend on whether it's the default instance or named. Run net start to see what your currently-running services are named.
As mfinni said,
net stop mssqlserver
or similar will do it from the command line. To add to that, from the GUI in SSMS, you can right click the instance name and hit "Stop".You can also stop/start/restart SQL from the SQL Configuration Manager application.
You can also use
Stop-Service -Force -Name 'MSSQL$SQLEXPRESS'
if you want it in PowerShell. Substitute MSSQL$SQLEXPRESS with your SQL Server instance name.If yout server on windows you can use command from cmd:
SC STOP SERVICENAME
andSC START SERVICENAME
ServiceName - you can resolve by SC commnad, or look in Services (Control Panel)
Example:
SC STOP MSSQL$SQLEXPRESS
Will do it. The servicename will depend on whether it's the default instance or named. Run
net start
to see what your currently-running services are named.