Shortcut Keys. Quest Software 8.5
Advertisement
Advertisement
SQL Editor
Shortcut Keys
A few keys to note
F1
You can press F1 to display the Help file.
<ALT><UP> and <ALT><DOWN> will scroll through the SQL history.
F4
Describes an object (table, view, procedure, function, or package) in a popup window. You access an Object Describe window by placing the cursor on the name of a table, procedure, function, package or view in a Procedure Editor or
SQL Editor and pressing F4. The Object Describe windows are similar to the
Schema Browser windows for the corresponding object types.
F10
Displays the right-click menu for the section (Editor or results panel) that the cursor is in
<CTRL>T
Columns Dropdown - You put the cursor on the table name, and a popup window lists the columns in that table.
<ALT><UP>
Goes to the previously executed statement that you've run
<ALT><DOWN>
Goes to the most recently executed statement
<HOME>
Goes to the beginning of the line
<CTRL><HOME>
Goes to the top of the editor. In the data grid, goes to the first row of the column the cursor is in
<END>
Goes to the end of the line
35
KEYSTROKE
F1
F2
F5
F6
F7
F8
<SHIFT>F2
F3
<SHIFT>F3
F4
F9
<CTRL>F9
<SHIFT>F9
F10
36
Toad for Oracle
<CTRL><END>
Goes to the last row of the column you are in
You need to be careful when using <CTRL><END>. Toad shows queries quickly. Even in a table with a million rows the response to the initial query is almost immediate. This is because Toad only fetches and displays what it needs. But with <CTRL><END> Toad has to fetch EVERYTHING. This can be a long process. If a table has only a hundred rows, Toad can quickly fetch data when you press <CTRL><END>, but if a table has a million rows, the process could be time consuming.
If you need to examine rows at the end of a large recordset, refine your query with something like:
Select * from table
Where primary_key > value and re-execute it.
FUNCTION
Display SQL Editor section of Toad Help file
Toggle between full screen Editor and Editor/Results Panel display
Toggle full screen grid
Find next occurrence
Find previous occurrence
Describe Table, View, Procedure, Function, or Package in popup window
Execute as script (so does F11)
Toggle results grid
Clear all text
Recall previous SQL statement (invokes SQL Statement
Recall window)
Execute statement
Verify statement without execution (parse)
Execute current statement at cursor
Display right-click menu
SQL Editor
KEYSTROKE
F11
F12
<CTRL>A
<CTRL>C
<CTRL>D
<CTRL>E
<CTRL>F
<CTRL>G
<CTRL>L
<CTRL>M
<CTRL>N
<CTRL>O
<CTRL>P
<CTRL>R
<CTRL>S
<SHIFT><CTRL>S
<CTRL>T
<CTRL>U
<CTRL>V
<CTRL>X
<SHIFT><CTRL>Z
<ALT><UP>
<ALT><DOWN>
<ALT><PgUp>
<ALT><PgDn>
<CTRL><ALT><Pg
Up>
FUNCTION
Execute as script (so does F5)
Pass the editor contents to the specified External Editor
Select all text
Copy
Show Procedure Arguments
Execute Explain Plan on the current statement
Find text (invokes Find Text window)
Goto line (invokes Goto Line window)
Convert text to lowercase
Make Code Statement
Recall Named SQL Statement (invokes SQL Statement Recall window)
Open a text file
Strip Code Statement
Find and Replace (invokes Find and Replace Text window)
Save File
Save File As
Display Columns dropdown
Convert text to uppercase
Paste
Cut
Redo last Undo
Display Previous Statement
Display Next Statement (for use after <ALT><UP>)
Navigates to previous tab in the editor
Navigates to the next tab in the editor
Navigates to the previous results panel tab
37
Toad for Oracle
KEYSTROKE
<CTRL><ALT><Pg
Dn>
<CTRL><HOME>
<CTRL><END>
<CTRL><SPACE>
<CTRL><TAB>
<CTRL><ENTER>
<CTRL>. (period)
FUNCTION
Navigates to the next results panel tab
In the data grids, go to the top of the recordset
In the results grid, go to the first row of the column the cursor is in
In the editors, go to the first row, first column of text.
In the Data Grid, go to the end of the recordset
In the editors, go to the last row, last column of text.
See caution note in this section.
Activate code completion template
Cycle through the collection of MDI Child windows
Execute current SQL statement at cursor
Auto complete tablenames
In version 8.5 the SQL Editor has been merged with the Script Debugger screen. (The Script
Debugger is available in editions with debugging functionality.) Prior to the merge, the Script
Editor and Script Debugger had common keyboard shortcuts. For example F5 in the Script Editor would Execute as Script and in the Script Debugger would Set a Breakpoint. If you are upgrading to 8.5, the merge requires you to resolve the shortcut conflicts by right-clicking on the main Toad toolbar, choosing Menu Shortcuts, and adjusting conflicts to best suit your environment.
38
Download
Advertisement