When defining a column, specify its data type in the TYPE attribute of the FIELD entity-occurrence or in the SQL statement. Refer to the CA Datacom Datadictionary User Guide and the CA Datacom/DB SQL User Guide for details. CA Datacom/DB supports the following data types:
CA Datacom Datadictionary Valid Entry: B
SQL Data Type: SMALLINT
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: B
SQL Data Type: INTEGER or INT
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: B
SQL Data Type: DATE
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: B
SQL Data Type: TIME
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: B
SQL Data Type: TIMESTAMP
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: C
SQL Data Type: CHARACTER or CHAR
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: C
SQL Data Type: CHARACTER with FOR MIXED DATA
CA Ideal Support: Supported as character
CA Datacom Datadictionary Valid Entry: V
SQL Data Type: VARCHAR
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: V
SQL Data Type: VARCHAR
CA Ideal Support: Supported
Varying-length character string whose maximum length is determined by the amount of space available in a block after all fixed-length fields have been subtracted from the blocksize (assumes one record per block). See following notes.
CA Datacom Datadictionary Valid Entry: V
SQL Data Type: LONG VARCHAR
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: D
SQL Data Type: DECIMAL or DEC, maximum length = 16 bytes
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: N
SQL Data Type: NUMERIC, maximum length = 31 bytes
CA Ideal Support: Supported
CA Datacom Datadictionary Valid Entry: H
SQL Data Type: Not supported.
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: S
SQL Data Type: CHAR
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: L
SQL Data Type: FLOAT, REAL, DOUBLE PRECISION
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: E
SQL Data Type: CHAR
CA Ideal Support: Not supported
See notes following this list.
CA Datacom Datadictionary Valid Entry: Y
SQL Data Type: GRAPHIC
CA Ideal Support: Not supported
See notes following this list.
CA Datacom Datadictionary Valid Entry: Z
SQL Data Type: CHAR with FOR MIXED DATA
CA Ideal Support: Supported as character
CA Datacom Datadictionary Valid Entry: G
SQL Data Type: GRAPHIC
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: W
SQL Data Type: VARGRAPHIC
CA Ideal Support: Not supported
With attribute LONG=Y varying-length double-byte character set whose maximum length is determined by the amount of space available in a block after all fixed length fields have been subtracted from the blocksize (assumes one record per block). See the notes following this list.
CA Datacom Datadictionary Valid Entry: W
SQL Data Type: LONG VARGRAPHIC
CA Ideal Support: Not supported
See notes following this list.
CA Datacom Datadictionary Valid Entry: K
SQL Data Type: GRAPHIC
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: T
SQL Data Type: Not supported
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: 2
SQL Data Type: SMALLINT
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: 4
SQL Data Type: INTEGER or INT
CA Ideal Support: Not supported
CA Datacom Datadictionary Valid Entry: 8
SQL Data Type: Not supported
CA Ideal Support: Not supported
Notes:
|
Copyright © 2014 CA.
All rights reserved.
|
|