Analyzing an ad hoc statement
To analyze an ad hoc statement
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*
Use the following procedure to browse and copy a statement stored in a data set, or to write a statement into the statement box of the Performance perspective.
Note
You can set values that are persistent for all ad hoc statements that you create in the current session in the current workspace. For details, see Setting-SQL-tuning-options.
From the DB2 Connection list, select a Db2 subsystem.
Tip
Click and specify which Db2 connections to include in your list of favorite connections.
(BMC.DB2.SPE2210) Edit the SQL statement as needed:
Purpose | Action |
---|---|
Find a search string |
|
Find and replace a search string |
|
Find and replace all instances of a search string |
|
Make a search case sensitive | Select the Match case checkbox. |
Enable syntax highlighting | Select the Use syntax highlighting for SQL statements Command Center option. For more information, see Setting-Command-Center-options. |
Undo an action | Click |
Redo an action | Click |
Use the menu arrow to display and choose from a list of connected subsystems.
Tip
Click and specify which Db2 connections to include in your list of favorite connections.