forums › forums › SQLyog › Using SQLyog › Copy/Paste SQL
- This topic is empty.
-
AuthorPosts
-
-
July 1, 2003 at 8:52 pm #8078BruceHamiltonMember
I can select portions of text in the history window. The Edit/Copy function in the menu bar is then disabled, but right-click offers “copy to clipboard.” That function, I discover, means “copy the entire history buffer to the clipboard.”
* I recommend changing the contextual menu prompt to something like “Copy buffer to Clipboard.” If not that, then don't allow partial selection in the window.
* What's the recommended procedure for re-executing a previous SQL query?
* Related, is there a way to copy/paste table and column names from the left pane into a query?
-
July 2, 2003 at 5:27 am #14624RiteshMemberQuote:* I recommend changing the contextual menu prompt to something like “Copy buffer to Clipboard.” If not that, then don't allow partial selection in the window.
You can copy partial queries by pressing Ctrl+C
Quote:What's the recommended procedure for re-executing a previous SQL query?Paste the above selected text in the SQL window and execute them.
Quote:Related, is there a way to copy/paste table and column names from the left pane into a query?No.
There is a workaround though – click on the Table in the ObjectBrowser and its whole structure will be generated in the Objects tab. You can copy table/column names from there.
HTH
-
July 2, 2003 at 5:12 pm #14625BruceHamiltonMember
Ctl+C works — thanks!
Note, though, that the three methods of copying produce three different effects. Edit/copy has no effect; right-click ignores the selection and copies the whole buffer; and Ctl-C copies the selected text. This would be more self-documenting (and perhaps more intuitive) if they all did the same thing.
-
July 2, 2003 at 6:31 pm #14626RiteshMember
Thanks for the suggestion 😀
-
-
AuthorPosts
- You must be logged in to reply to this topic.