From the File menu, select New Statement. The New Statement dialog box appears.
Select the type of statement that you want to create. The options are SELECT, INSERT, UPDATE, DELETE, and CALL.
If available, select the check boxes for the following options, as needed:
same Table(s)
same Criteria
same Selected Items
same Values
same Procedure
These options are available in the New Statement dialog box only if there was a statement of the same type in the Table Diagram tab of the Statement Builder when you began creating the new statement.
Click OK. The New Statement dialog box closes.
Drag a table, view, or stored procedure from the Schemas tab into the Table Diagram tab.
The selected item appears in the Table Diagram tab. The text of the statement appears in the SQL Statement tab. Other tabs contain information, depending on the type of statement you are creating.
If required:
Add any sort or select information.
Add any expressions.
Add any criteria.
Add any group criteria.
If the statement includes a stored procedure, the statement must be saved to execute the stored procedure.
Test the statement by selecting Execute Statement from the Tools menu. The returned records appear in the Results tab.
For other ways to create a statement, see the Creating Statements section.