"USE statement is not supported to switch between databases. Use a new connection to connect to a different Database."

Discussion of open issues, suggestions and bugs regarding database management and development tools for SQL Server
Post Reply
Doxanto
Posts: 2
Joined: Sun 12 Nov 2017 02:48

"USE statement is not supported to switch between databases. Use a new connection to connect to a different Database."

Post by Doxanto » Sun 12 Nov 2017 02:53

5.5.311 Express
Windows 10 build 1709

Connected to my SQL Warehouse on Azure
Selected my main db

Open database designer
Try to add a table, get an error:

"USE statement is not supported to switch between databases. Use a new connection to connect to a different Database."

When I exit, there is another message box under the app that says "HANDLE is not initialized".


.jp
Devart Team
Posts: 345
Joined: Wed 09 Sep 2009 06:55
Location: devart

Re: "USE statement is not supported to switch between databases. Use a new connection to connect to a different Database."

Post by .jp » Tue 21 Nov 2017 13:55

Hello,

Thanks for the post.

We are aware of this error. it will be fixed in one of the next versions of dbForge.
To avoid this error in dbForge Studio v5.5, you need to specify the database you are working with in the connection settings.

Best Regards.

Post Reply