Generally speaking, there are two types of SQL statements found in source code.
Embedded SQL statements refer to SQL statements that are placed within the source programs and are constructed at compilation time.
Dynamic SQL statements are SQL statements constructed at run time.
The SQL Scanner extracts SQL statements from the following:
Database objects with embedded SQL statements. This includes: stored procedures, triggers, views, rules and defaults. Depending on your database privileges, the available database objects can be selected by object name, object type, or user name.
SQL statements saved in abstract plans.
SQL statements captured in the SQL Collector for Monitor Server module during execution.
SQL statements retrieved in the SQL Inspector module from the Adaptive Server monitoring tables.
Text and binary files that contain embedded SQL statements.
COBOL source code that contain embedded SQL statements.
Note: If your SQL statements are dynamic SQL statement generated on the fly or at run time, you can use the SQL Collector for Monitor Server to capture the SQL statements. Then the SQL Scanner can be used to analyze the captured SQL statements.
The SQL Scanner data directory is used to store the data files created while executing the Scan function. The data directory path is stored in the Preferences window.
To change the data directory
Click .
Select the Directory Setup tab.
The default setting for this directory is:
C:\Documents and Settings\User\Application Data\Quest Software\SQL Optimizer\DATA
Changes to this directory cannot be made while the SQL Scanner is active.
Note: It is advisable not to change the data directory after selection, as files created during scanning are kept in this directory.
Click .
After creating a new Group or selecting an existing Group, click Open.
The SQL Scanner window displays after opening the working Group. If it is an empty group, the Add Jobs wizard also displays.
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center