forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Schema Browser Not Linked To Query Tabs
- This topic is empty.
-
AuthorPosts
-
-
September 25, 2007 at 6:23 pm #25015
peterlaursen
ParticipantA Query TAB can contain queries using more than ONE database (actually a single SELECT can).
It is not possible to 'link' a specific Query TAB to a specific database in the Object Browser.
I suggest you add a comment at the top like
— must use some_database
What you should understand is that the selected database is the latest one one specified with a USE statement.
When you work on that database you won't need to use full syntax like `database`.`table` ; `table`alone will do.
I do not see how this request can be implemented.
-
September 25, 2007 at 7:20 pm #25016
gb1071nx
Memberpeterlaursen wrote on Sep 25 2007, 01:23 PM:A Query TAB can contain queries using more than ONE database (actually a single SELECT can).It is not possible to 'link' a specific Query TAB to a specific database in the Object Browser.
I suggest you add a comment at the top like
— must use some_database
What you should understand is that the selected database is the latest one one specified with a USE statement.
When you work on that database you won't need to use full syntax like `database`.`table` ; `table`alone will do.
I do not see how this request can be implemented.
But surely, the “3 Table Data” tab is only showing you one database, from one schema, at once? This might be an unfortunate side-effect of combining a sub-tab called “1 Result”, which contains results from the parent query tab that can query any schema and any table (as you say), with a sub-tab called “3 Table Data”, that is limited to one schema/table at once.
-
September 25, 2007 at 7:32 pm #25017
peterlaursen
Participantgood point!
the 'parent' of the DATA tab is the Object Browser.
the HISTORY tab is 'child' of every Query tab that has been opened since connection was established
all other TABs have the selected Query TAB as 'parent'.
Actually .. with hindsight .. it would be more logical if the DATA tab was the 1st/leftmost tab (as close to the Object Browser as possible) and if some graphics clearly indicated this parent/child structure!
-
September 26, 2007 at 2:51 pm #25018
gb1071nx
Memberpeterlaursen wrote on Sep 25 2007, 02:32 PM:Actually .. with hindsight .. it would be more logical if the DATA tab was the 1st/leftmost tab (as close to the Object Browser as possible) and if some graphics clearly indicated this parent/child structure!I would still be a bit confused by that. I wonder if it's possible to “promote” the DATA tab to a 'top level' tab. So you'd have 'Query' tabs, with their results at the bottom, but you'd also have DATA tabs named “schema.tablename”, which shows just the data in that table.
Sorry, I'm going to start 'converging' my two posts. If you did the above, it wouldn't be necessary to link the DATA tab to the Object browser, since you'd know by the tab name, which schema/table you were looking at. That is; whilst flipping between data tabs, you wouldn't need to scroll and re-highlight the Object Browser. Your tab name would suffice.
Thanks for your thoughts on the matter.
-
-
AuthorPosts
- You must be logged in to reply to this topic.