Chatta subito con l'assistenza
Chat con il supporto

SQL Optimizer for SAP ASE 3.9 - User Guide

Introduction Tutorials Preferences Editor Functions SQL Information and Functions Performance Monitor SQL Inspector SQL Collector for Monitor Server SQL Scanner Index Advisor SQL Optimizer
SQL Optimizer Overview Optimization Engine Common Coding Errors in SQL Statements What Function Should l Use to Retrieve the Run Time? Unsatisfactory Performance Results SQL Optimizer Functions SQL Editor Optimized SQL Activity Log
SQL Worksheet SQL Formatter Database Explorer Code Finder Object Extractor SQL Repository Index Impact Analyzer Index Usage Analyzer Configuration Analyzer Migration Analyzer Abstract Plan Manager User-Defined Temp Tables SQL History Legal Information

Embedded and Dynamic SQL Statements

SQL Scanner > Embedded and Dynamic SQL Statements

Generally speaking, there are two types of SQL statements found in source code.

Embedded SQL Statements

Embedded SQL statements refer to SQL statements that are placed within the source programs and are constructed at compilation time.

Dynamic SQL Statements

Dynamic SQL statements are SQL statements constructed at run time.

 

Related Topic

What files does SQL Scanner scan?

SQL Scanner > What files does SQL Scanner scan?

The SQL Scanner extracts SQL statements from the following:

Database Objects

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.

Abstract Plan Groups

SQL statements saved in abstract plans.

SQL Collector for Monitor Server Files

SQL statements captured in the SQL Collector for Monitor Server module during execution.

SQL Inspector Files

SQL statements retrieved in the SQL Inspector module from the Adaptive Server monitoring tables.

Text/Binary Files

Text and binary files that contain embedded SQL statements.

COBOL Files

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.

 

Related Topics

Data Directory Setting

SQL Scanner > Data Directory Setting

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

  1. Click image\B_Preferences.gif.

  2. 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.

 

Related Topic

Open SQL Scanner

SQL Scanner > Open SQL Scanner

To open the SQL Scanner

  1. Click image\B_SQLScanner.gif.

  2. 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.

 

Related Topics

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione