When changing connections, if the original database exists on the connection, make it the current database
Often times, when I am changing connections (ie servers), it would be nice to have the current database change to the database I was on prior to the connection change.
For example, if I'm on the database Adventure on Server1 and change connections to Server 2, that the current database change from whatever my default database is, to Adventure as well.
Yes I know I could fix this with a use database command, but I also feel SQL Prompt could just do it for me.
1
vote