How to kill, remove or not initialize SQL Server master bank?

4

I woke up in the morning and gave a "Run" on top of the " cotacao " bank, the bank I'm currently working on. Then the login screen entered and when I logei the bank that received the tables was the master and not the " cotacao ". In the provider that hosts my website and bank, it does not enter. When I do, it's always my bank.

Can you do this on my machine? Choose a default bank and it will always be the one that will appear when I log in. How do I do this?

    
asked by anonymous 22.11.2017 / 11:06

1 answer

8

If you have privilege you can do this:

ALTER LOGIN pnet WITH DEFAULT_DATABASE = meudb
    
22.11.2017 / 11:23