Toad for Oracle
Right-click menu
Click the right mouse button while you are in the SQL Editor to access the corresponding right-click menu. This provides a shortcut to the functions listed in the menu. You can also press F10 to display the right-click menu.
The right-click menu includes the following:
Formatting Tools
Includes Profiler.
Find Closing Block
Finds the closing parenthesis, "END" for matching "BEGIN", or "END IF" for matching "IF"
Optimizer Mode
This changes the optimizer mode for the entire session. Options include Choose,
Default, Rule, First Rows, and All Rows. This option is not valid for Oracle 10g databases, so it is disabled for the 10g databases.
100
SQL Editor
Options for the Editors
You access this menu via View | Options | Editors menu item.
General
Tnsnames Editor
Reload last used tnsnames file
Default - Checked
If checked, this option automatically loads the last two tnsnames files that you edited into the TNSNames Editor panels.
Backup tnsnames file before saves
Default - Unchecked
If checked, this option will backup the tnsnames file prior to saving the file.
F4 Describe Windows
Use MDI Child Describe Popups
Default - Unchecked
If checked, the F4 popup Object Describe windows will use the Windows Stay on
Top feature. You access a Describe window by placing the cursor on a table, procedure, function, package or view in a SQL Editor or Procedure Editor and pressing F4. The Object Describe windows are similar to the Schema Browser windows for the corresponding object types.
Show Spec along with Body when describing a package
Default - Unchecked
If checked both the spec and body will be included in the Describe
Syntax Highlighting
Include when copying to/from clipboard (RTF format)
Default - Checked
If checked, Toad will copy color markups for pasting into email or other RTF enabled applications. If unchecked, the text will be copied to the clipboard as standard black text.
101
Toad for Oracle
Use syntax highlighting when printing
Default - Checked
If checked, printing will include color highlighting.
Highlight table names
Default - Checked
If checked, will show tablenames in the SQL Edit window and other editors using the syntax highlighting feature. If unchecked, tablenames will appear in black text.
Checkboxes in the option let you
Default - Unchecked
Toad caches tablenames and only queries tablenames the first time they are needed per Oracle session. If checked, this option will cause Toad to requery
Oracle for tablenames every time they are needed to fill a list of tablenames. If the table list is already cached, the list will override the global browser filter for tables when the Schema Browser window is opened.
and/or
Refresh table names list on every display in the Schema Browser
Default - Unchecked
Highlight view names
Default - Unchecked
If checked, view names will display using the syntax highlighting feature.
Highlight stored procedure names
Default - Checked
If checked, stored procedure names will display using the syntax highlighting feature.
102
SQL Editor
Misc.
External Editor Command Line textbox
Enter the drive letter, path, and executable name of the external editor you want, e.g., c:\winnt\notepad.exe %S. While in the SQL Editor or Procedure
Editor, press <F12> to invoke the external editor, which will start and load up the current Toad Editor contents.
Treat underscore character as part of object names
Default - Unchecked
If checked, when you double-click on a word any underbar to the immediate left or right of the word will be treated as part of the object name. If unchecked, when you double-click on a word only the word will be selected and treated as the object name. In the example EMP_BONUS_TAB, if the option is checked and you double-click on BONUS then EMP_BONUS_TAB will be selected. If the option is unchecked only BONUS will be selected.
Default - Unchecked
If checked, will return selected column names into the editors in lower case.
Otherwise they are returned in upper case. This option affects:
• Drag-drop of table names from the Table Name Select popup
• Drag-drop of column names from the Column Name Select popup
• The Clipboard button on the Column Name Select popup
• Drag-drop Code Snippets from the Code Snippets window
• The dropdown when you type in a table name and press "."
• Drag-drop of column names from the Details panel of the Schema
Browser
• Drag-drop of column names from the Describe popups for tables or views
When Find/Replace dialogs activate, default to the word under the cursor in the editor
Default - Checked
103
Toad for Oracle
If checked, when you open a Find and Replace dialog Toad will automatically look for the word currently under the cursor. If unchecked, Toad will default to the word that you most recently searched for.
Default - Unchecked
If checked, will load the .TXT files that populate the Code Snippets window from the network where Toad.EXE and Toad.CHM are read.
104
SQL Editor
Toad Insight
Display pick list after typing object name followed by a period
Default - Checked
If checked, will display the columns dropdown list. If unchecked, will not display the columns dropdown list.
Sort pick lists alphabetically
Default - Checked
If checked, items in the columns popup will display alphabetically.
Display parameter hints after typing open paren "("
Default - Checked
If checked, parameter hints will display automatically when you pause after typing the open parenthesis.
Delay for pop-ups ___ milliseconds spinner.
This lets you set the amount of time that will elapse between when you type a period in a statement that invokes the tables popup window and when the tables popup window automatically pops up. The spinner can be set from 50 to 2000
(2000 would be 2 seconds).
Ctrl-Click package/type procedure jumps to body
Default - Checked
If checked you can Ctrl-Click on a package procedure and jump to the body.
105