Following is a list of CA Dataquery statements and the data types which they can use.
CHAR, NUM, DEC, BIN, 1/2 BIN, FUL BIN, DBL CHAR, KANJI
CHAR, NUM, DEC, BIN, 1/2 BIN, FUL BIN, DBL CHAR, KANJI
NUM DEC, BIN, 1/2 BIN, FUL BIN, DBL CHAR, KANJI
NUM DEC, BIN, 1/2 BIN, FUL BIN, DBL CHAR, DBL MIXED, KANJI
CHAR NUM, DEC, BIN, FLOAT-PT SHRT, FLOAT-PT LONG, EXT, 1/2 BIN, FUL BIN, DBL CHAR, DBL MIXED, KANJI
CHAR NUM, DEC, BIN, FLOAT-PT SHRT, FLOAT-PT LONG, EXT, 1/2 BIN, FUL BIN, DBL CHAR, DBL MIXED, KANJI
Note: For details about these data types, see the CA Datacom/DB SQL User Guide.
DATE, TIME, or TIMESTAMP
DQL Mode queries cannot include columns defined as data types DATE, TIME, or TIMESTAMP. These data types are reserved for SQL Mode queries. These data types are listed as character types on Extended Column Display panels because SQL Mode queries return character-type data.
To test a column that is suspected of being one of these types before selecting it for a DQL Mode query, follow these steps:
Use the PF key for Extended Column Definitions to check the data type of the column you wish to use, and correct your query.
|
Copyright © 2014 CA.
All rights reserved.
|
|