Query window orphaned on database deletion SSMS 18.3
In SSMS 18.3, if you are working with a query and you delete the database which interrupts the connection, you can no longer connect that query window to a different database.
When I restored a test version of my database that had the data in it I needed, I went to my query window and could not switch the connection. Everything was grayed out. I had to copy my code to a new window and run it in a new window that was connected to the proper database.
Ideally, the connection icons should not be grayed out so that I can connect the query window to a different database to run my command against.