Create a New Query

Creating a new query is fast and easy using the Query Builder Wizard Mode (the default). During the creation process you will be able to:

  • Add and Join tables
  • Choose, edit and create columns
  • Create grouped results
  • Filter results
  • Sort results
  • Create and add parameters

To start press Add Query .

NOTE:

If you use IBM BRMS, and have at least one defined BRMS data connection, you can create a query by starting with a pre-defined BRMS query template.

Query Attributes

The New Query panel opens on the right.

Fill in the options (described below) and press Edit Query to continue.

Query Editor Layout

After the initial values (above) are defined and saved the Query Editor displays:

On this screen you can see the following:

From here you can create your query and:

Editor Options

Advanced vs. Wizard Mode

By default the query editor operates in Wizard Mode. This creates logical steps to the creation process (adding tables, joins, columns, sorting, and so on). Switching to Advanced Mode allows you to review and modify the existing SQL.

To access this mode press the Advanced Mode button at the top of the editor. This button toggles between the two modes. The editor changes to display the SQL.

To switch back press the Wizard Mode button .

Parameters

Press the Parameters button to create new, or edit existing parameters.

Download (CSV File)

Use this option to create and download query results as a .CSV file.

  1. Press the Download button .

    A window displays so you can give the file a name.

  2. Press the Download button and the browser will display the progress.

    The file is saved in the Windows Downloads folder.

Preview SQL

Press the Preview SQL button to quickly review the SQL for the query.

The contents of this display cannot be edited.

Preview Results

While in the query editor you can quickly preview the results of the query. Press the Preview button to display sample results. Use the down arrow to select the number of sample records to process. The bottom half of the display fills with results.

The data connection used by the query is displayed. If your query uses multiple data connections, you will see them listed (use the arrow to expand) along with their connection status.

NOTE:

For multi-connection queries, only the first connection is used for preview results.

 

See Also:

Work with Queries

Edit Existing Queries

 

Copyright © HelpSystems, LLC.
All trademarks and registered trademarks are the property of their respective owners.x