Search code examples
sql-serverazuressms

Connect to user Azure database from SSMS by default


When logging into my Azure database through SSMS, how can I make my user database the default? It currently logs me into the Master database, which requires me to manually change the database.

enter image description here

This error occurs when I try to switch databases with T-SQL: 'use myDatabase'.

enter image description here


Solution

  • @StinkySocks said: The first picture does work. You need to click the 'Browse Server...' option, then select the database. I do not believe it works if you simply type in your database in the box without using the "browse" option first.