To use the Open SQL Statement dialog box to open an existing SQL statement, follow these steps:
1. Make sure you have already opened the existing SAM that includes this statement.
If you need information about opening an existing SAM, see Opening an Existing SAM.
1.Select SQL Statement Ø Open. The Open SQL Statement dialog box appears, as shown below.
Open SQL Statement Dialog Box
2.Open an existing SQL statement in either of the following ways:
•Double-click on the name in the Statement name list box
•Select the name in the Statement name list box. Then, select the Open push button.
The dialog box closes, and the text of the statement you selected appears in the SQL Editor window. The name and type of the selected statement appear in the Statement drop-down list and type field, respectively.