Query interfaces
QMF provides robust querying capabilities. You can create new queries using the query building editors or import existing queries. Imported queries can be edited as needed.
In the Visual Query Editor, you can create relational, analytical, and OLAP queries using different query interfaces that are tailored to different skill and knowledge levels. A technical user might select to use a familiar SQL interface, while a business user might opt for a graphical user interface.
In the Cloudant Query Editor, you can create Cloudant queries. IBM Cloudant does not have the Content Assist feature, and hence it is not available in the Cloudant Query Editor
The following table lists the different query editors supported in QMF and provides usage information about each editor.
Type | Description | Characteristics of this type of editor |
SQL Editor |
Query is written in SQL. |
|
Prompted Query Editor |
Query is built by prompting the user for information about the tables, columns, rows, and conditions to use to create the query. |
|
Query Builder Editor |
Query is built visually by specifying table, join, column, sort, and row information. |
|
Cloudant Query Editor |
Query is built with the help of the metadata table that defines that presentation of the JSON data, which is retrieved from a Cloudant database, as a relational table in the result set. |
|
You can use the Draw Query wizard to create a query object automatically based on the query type and tables that you specify. This menu option is the same as the DRAW command in QMF for CICS/TSO.
Experienced QMF users can use the command bar to access a query or database table. The command bar includes an area for the command itself, along with a means of selecting the server against which the command will run.