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.
Below is a list of available functions within the SQL Repository window.
Button or Menu | Function |
SQL & Right-click Menu
|
|
SQL Menu |
|
SQL & Right-click Menu |
|
SQL & Right-click Menu
|
|
SQL & Right-click Menu |
Add Folder |
Right-click Menu |
|
Right-click Menu |
|
Right-click Menu |
|
SQL & Right-click Menu |
|
Right-click Menu |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center