You can only modify the SQL name and description of the SQL statement stored in the SQL Repository.
To modify SQL name or description
From the SQL Repository window, select the SQL you want to modify from the left pane.
Right-click and select Modify.
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.
You can rename a SQL statement stored in the SQL Repository window in two ways:
To rename SQL
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.
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.
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
Right-click the SQL and select Delete or highlight the SQL statement and press DELETE.
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.
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
Right-click and select Create Benchmark Factory Import File.
Select the specific SQL statements that you want to save.
Enter the filename and select the file location.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center