Under the Options window, the SQL Scanner and Optimization tabs contain several settings that control the use of temp tables in the SQL Scanner and SQL Optimizer modules.
Override previous Scanner Temp Table
Apply selected SQL Options to temp table SQL
Quest SQL Optimizer for IBM® DB2® LUW maximizes SQL performance by automating the manual, time-intensive and uncertain process of ensuring that SQL statements are performing as fast as possible. SQL Optimizer analyzes, rewrites, and evaluates SQL statements within multiple database objects, files. With SQL Optimizer, you can analyze and optimize all your problem SQL from multiple sources. SQL Optimizer also provides you a complete index optimization and plan change analysis solution, from index recommendations to simulated index impact analysis, through comparison of multiple SQL access plans.
SQL Optimizer provides you with the following main modules.
SQL Optimizer (including SQL Rewrite and Generate Indexes functions)
Editor functions are available on all editable windows to help format and construct SQL statements. The layout of the SQL statement is important to make it easier to read and maintain particularly when dealing with large and complicated SQL statements.
Editor functions settings can be changed within the Options window under the Editor tab.
|
Button or Menu |
Function |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Edit Menu
|
|
|
Edit Menu
|
|
|
Edit Menu
|
|
|
Edit Menu
|
|
|
Edit Menu
|
|
|
Edit Menu
|
Auto correction automatically corrects any typo and spelling errors, if the auto correction option is turned on. For example, if " teh " is typed followed by a space, it will automatically be corrected to "the". Auto correction entries are user-defined and can be modified in the Options window.
To setup auto correction
Click .
Select the Editor tab.
Under the Editing section, click next to the Auto Correction checkbox to open the Auto Correction Settings window.
Modify the auto correction entries
Click Apply.
Click OK.
Check the Auto Correct checkbox in order for auto correction function to be enabled.
The available auto correction entries are listed on the list box. Each entry has a Replace text (the original text typed) and With text (the replacement text).
Action keys are the keys that will activate the auto correction. When you type the Replace text and follow it by any action key, the replacement takes place. No whitespaces are needed to separate each key. By default, the action keys are ";,:=[]\ n\t\s" representing the following:
|
Action Key |
Description |
|---|---|
|
; |
semi-colon |
|
, |
comma |
|
: |
colon |
|
= |
equal sign |
|
[ |
left bracket |
|
] |
right bracket |
|
\n |
new line |
|
\t |
tab |
|
\s |
space |
To add an correction entry
Click Add.
Enter the original text [Replace] and replacement text [With].
Click Apply.
Click OK.
Click Apply.
Click Close.
To modify an auto correction entry
Select the entry to be modified from the Auto Corrections box.
Click Edit.
Modify the text.
Click OK.
Click Apply.
Click Close.
To delete an auto correction entry
Select the entry to be modified from the Auto Corrections box.
Click Delete.
Click Apply.
Click Close.