Sunday, 25 October 2015

Use statement is not supported to switch between databases, Use a new connection to connect to different database - SQL Azure Error by serverku

A long ago, when I was worked with SQL Azure database, I received below error.

Use statement is not supported to switch between databases. Use a new connection to connect to different database.

It is due to, I was directly trying to make a different database connection using USE statement in query analyzer where MASTER database connection already made. See below screen shot of error.


After I changed a database connection as below and it was succeeded.



Let's share experience of SQL Azure.

No comments:

Post a Comment

Please Use Good Leanguage