Feedback

  • Contents
 

Modify SQL Query

Use the Configure Conditions dialog box to view or modify the query as a SQL statement.

To modify a SQL Query

  1. Click the [Export Layout Name] tab on the Export Files tab (for example, End of Month Report).

Export Files tab - query tool export

  1. Click Modify Record Layouts. The Query Tool Built Export window appears.

Query Tool Built Export window

  1. Click the name of the detail record (for example, Detail Example). Information for the detail record appears.

Query Tool Built Export window

  1. Above the data grid, click Show Sql Query. The SQL Query Form dialog box appears.

SQL Query Form dialog box

  1. To add a table or derived table to use as select columns, in the Additional JOINS box, type the JOIN clause. To view an example, double-click in the box.

  2. To add a search condition, in the Additional WHERE clause box, type the WHERE clause. To view an example, double-click in the box.

  3. To specify a sort order, in the ORDER BY clause box, type the ORDER BY clause. For example, "ORDER BY AccountID."

  4. To verify that the SQL statement is valid after adding or modifying a clause, click Validate Query.

SQL Query Form dialog box

  1. To rebuild the query after adding or modifying a clause, click Rebuild. Exchange Manager updates the SQL Query box to reflect your changes.

  2. Click OK.

  3. In the Query Tool Built Export window, click Save and Exit.

  4. In the Clients pane toolbar, click Save. The Update Comment dialog box appears.

  5. In the Update Comment box, type a comment regarding your changes and then click OK.

Related Topics

Query Export Detail Record