This section tells how to select columns for the sample query.
After you select a table and press <PF4> CONTINUE, you see this panel:
Output Row: Column Selection (DQIG0)
=> --------------------------------------------------------------------------DQIG0 DATAQUERY: OUTPUT ROW: COLUMN SELECTION QUERY NAME: SQLGUIDE ------------------------------------------------------------------------------- SELECT COLUMNS TO BE INCLUDED IN THE OUTPUT ROW BY PLACING ANY CHARACTER NEXT TO THE DESIRED NAMES. ------------------------------------------------------------------------------- SELECT|TABLE/COLUMN NAME | DESCRIPTION ------------------------------------------------------------------------------- | CAI_SLSHST_TBL | _ | ORD_ID | _ | ITM_ID | _ | ORD_DT | _ | ORD_YR | _ | ORD_MO | _ | ORD_DAY | _ | ORD_QTY | _ | SHIP_QTY | _ | UNIT_PRICE | _ | DISC_PCT | ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> NOT USED <PF4> CONTINUE <PF5> EXTEND COLUMN <PF6> DISPLAY QUERY <PF7> BACKWARD <PF8> FORWARD
Facts
The following presents the facts needed to select columns for the sample query.
Query execution creates a result table that is made up of rows of found data.
Your report will consist of data that CA Dataquery finds in each column you select on this panel.
Steps
The following describes the steps required for selecting output columns in creating the sample query.
Decide which column should contain the data needed for the report.
Type an X in the fields preceding ITM_ID, SHIP_QTY, and UNIT_PRICE.
Press <PF4> CONTINUE.
Options
The following lists other things you could do during display of this panel.
Press <PF5> to see a panel with the definitions for each column in the table.
Press <PF6> to see the query as it looks before column selection.
You can select as many columns as you like, as long as you select at least one.
Additional Information
The following provides additional information you might want to read about selecting tables.
The portion of a query that lists the database columns that contain data wanted in the output. (SELECT clauses can perform several functions. For more information, see 1.)
Decision-making aids can include:
|
Copyright © 2014 CA.
All rights reserved.
|
|