To filter a database object
Click in the Database Objects page of the Add Scanner Jobs wizard.
Review the following for additional information:
User | Click and select the database object owner. |
Object Type | Click and select a database object type. |
Filter |
Enter the filtering criteria using the % wildcard and click . Important: The filtering criteria is case sensitive so you must match the uppercase or lowercase characters of the database object name. Notes:
|
Select the database objects to add.
Scan SQL displays scan jobs you create using the Add Scanner Jobs wizard in the Job List pane by groups. You can use the Job List pane to manage scan jobs for a selected group.
Note: This topic focuses on information that may be unfamiliar to you. It does not include all step and field descriptions.
To manage a job
Select the Scan SQL tab in the main window.
Click beside the Group list and select a group.
Tips:
Click beside the Group list to create a new group.
Right-click a job in the Job List pane and select Scan | option to start scanning.
You can change the schema by clicking the entry in the Set Schema column and selecting a different schema before scanning a job.
Select the Eliminate Duplicate SQL checkbox to eliminate duplicate SQL statements while scanning.
Right-click a job and select Delete Jobs | option to delete jobs.
Scan SQL extracts syntactically correct SQL statements and retrieves their execution plans. Scan SQL then classifies the extracted statements as Simple, Complex, Problematic, or Invalid.
Note: This topic focuses on information that may be unfamiliar to you. It does not include all step and field descriptions.
To view SQL Classification
Click beside the Group list and select a group.
Select a scan job in the Job List pane to display SQL Classification information in the SQL List pane. Review the following for additional information:
Classification | Description |
---|---|
Problematic |
SQL statements are classified as problematic when Scan SQL determines they should be optimized. Problematic SQL statements have execution plans that contain one or more of the following:
Notes:
|
Complex |
SQL statements are classified as complex when the execution plan does not meet any of the rules for the problematic SQL classification but contain one or more of the following:
Notes:
|
Simple |
SQL statements are classified as simple when the execution plan does not meet any of the rules for the problematic or complex SQL classifications. |
Invalid |
SQL statements are classified as invalid when Scan SQL cannot retrieve an execution plan for one of more of the following reasons:
|
Tips:
To view SQL text
Select a job in the Job List pane.
Select a SQL statement in the SQL List pane to display the SQL text.
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center