Declarations of variables within the SQL statement are allowed, prefixed with a ":" sign or without. If variables are recognized, they will be highlighted in red after executing the Format function.
Note: If table names are in red it indicates that the table and corresponding columns are not recognized. Check these things:
Is there sufficient privileges under the login user to access the table
Are you connected to the correct database and schema
Execute the Synchronize Data Dictionary function to make sure you have the most up-to-date database information in memory.
Below is a list of available functions within the SQL Formatter window.
|
Button or Menu |
Function |
|---|---|
|
SQL Menu
|
|
|
Edit Menu
|
|
|
Edit Menu
|
|
|
File Menu
|
|
|
File Menu |
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)
The SQL Inspector identifies SQL statements with performance problems by extracting SQL statements and SQL performance statistics from the database. With the Add Inspector window, you can create an Inspector, select which approach to use, and specify your retrieval criteria and timeframe for capturing the SQL statements.