sql server 2012 - What happens when we click on SSMS 'New Query' button? -


when click on 'new query' button on sql server management studio creates new connection? if not how can create multiple connection using local ssms?

yes, new query creates new connection database. each query window maintains independent connection.

the connection number number shown in () brackets @ both end of tab name , in status bar (after user name)

enter image description here

shown circled in red - query window has connection number 57 it's respective server. sp_who2 executed in window show connection 57 active , running sp_who2.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -