Sql cmd commands

1. You can check all the sqlcmd commands using this command:
Sqlcmd -?
 
2. check sql server instance is running or not
sc query mssql$instancename
 
 3. check sql server browser is running or not
sc query mssqlbrowser
 
 

Comments

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Restore of database 'DataBase_Name' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)

Get List of logins on SQL Server instance