Chat now with support
Chat with Support

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

Modify SQL

SQL Repository > Modify SQL

You can only modify the SQL name and description of the SQL statement stored in the SQL Repository.

To modify SQL name or description

  1. From the SQL Repository window, select the SQL you want to modify from the left pane.

  2. Right-click and select Modify.

  3. Modify the name and/or description. Click OK to save changes to the SQL Repository. The Last modified field will automatically be updated once the information is saved.

Note: SQL text cannot be modified. You must delete the current SQL and recreating a new one to change the SQL text.

 

Related Topic

Rename SQL

SQL Repository > Rename SQL

You can rename a SQL statement stored in the SQL Repository window in two ways:

To rename SQL

  1. Right-click the SQL and select Rename. A highlighted field is placed around the SQL name in the tree to indicate that you can edit the name.

  2. Change the name and press Enter or click any where outside the field.

Note: You can also right-click the SQL and select Modify to open the Modify SQL window. Modify the name. Click OK to save changes to the SQL Repository.

 

Related Topic

Delete SQL

SQL Repository > Delete SQL

When you delete a SQL statement from the SQL Repository, it also deletes all references to this SQL statement in the Analyzer modules.

To delete a SQL statement stored in the SQL Repository

  1. Right-click the SQL and select Delete or highlight the SQL statement and press DELETE.

  2. If the SQL statement is in an Index Impact Analysis, an Index Usage Analysis, a Migration Analysis, or a Configuration Analysis, you will be prompted before it is deleted.

 

Related Topic

Create Benchmark Factory Import File

SQL Repository > Create Benchmark Factory Import File

All the SQL statements can be saved in a text file from the SQL Scanner, the SQL Repository, the SQL Inspector, and the SQL Optimizer windows. These SQL statements can then be imported into Benchmark Factory 4.6 or later.

To create a file to import into Benchmark Factory

  1. Right-click and select Create Benchmark Factory Import File.

  2. Select the specific SQL statements that you want to save.

  3. Enter the filename and select the file location.

 

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating