Run cmd to display the Command Console
Type sqlcmd –L to display a list of available servers and instance names

With your server name/instance type, sqlcmd –S <server name>
It will then display line one. This is now the same as writing a query in SQL Server Management Studio.
On our console we can then query the server version
1> SELECT @@Version
2> GO
You can then type exit to go back
This is one use of many available commands.
For a comprehensive list of commands use sqlcmd /?






![[explored #7] [explored #7]](http://static.flickr.com/8027/7280513748_d23115c0d8_t.jpg)
![Captain Cormorant [eXPLoReD] Captain Cormorant [eXPLoReD]](http://static.flickr.com/7092/7278209816_5b0dc7e377_t.jpg)



