Exceute a query in the context of a selected database
It isn't possible to execute a query in the context of a selected(in the Database Explorer) database. When I open a new SQL Editor and execute a query, then the database specified in the connection properties is the context for this query. I think in the context menu of a table should be a new item(New SQL or New Query) which opens a new SQL editor. All queries inside this editor should be executed in the context of the previous selected table.
![](https://secure.gravatar.com/avatar/1f0a30c0f26c90c00fc80f2eb3f573a9?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
You can select database in which context to execute from drop-down list on SQL Toolbar.
Dynamically changing the database each time when new query document is opened can be confusing.