Data Type Definition
Keyword
|
SPD Data Set Data Type
|
Description
|
Data Type Returned
|
---|---|---|---|
BIGINT1
|
DOUBLE
|
64-bit double precision,
floating-point number.
Note: There is potential for loss
of precision.
|
DOUBLE
|
CHAR(n)
|
CHAR(n)
|
Fixed-length character
string.
Note: Cannot contain ANSI SQL null
values.
|
CHAR(n)
|
DATE 2
|
DOUBLE
|
64-bit double precision,
floating-point number. By default, applies the DATE9 SAS format.
|
DOUBLE
|
DOUBLE1
|
DOUBLE
|
64-bit double precision,
floating-point number.
|
DOUBLE
|
FLOAT(p)1
|
DOUBLE
|
64-bit double precision,
floating-point number.
|
DOUBLE
|
INTEGER1
|
DOUBLE
|
64-bit double precision,
floating-point number.
|
DOUBLE
|
REAL1
|
DOUBLE
|
64-bit double precision,
floating-point number.
|
DOUBLE
|
SMALLINT1
|
DOUBLE
|
64-bit double precision,
floating-point number.
|
DOUBLE
|
TIME(p)2
|
DOUBLE
|
64-bit double precision,
floating-point number. By default, applies the TIME8 SAS format.
|
DOUBLE
|
TIMESTAMP(p)2
|
DOUBLE
|
64-bit double precision,
floating-point number. By default, applies the DATETIME19.2 SAS format.
|
DOUBLE
|
TINYINT1
|
DOUBLE
|
64-bit double precision,
floating-point number.
|
DOUBLE
|
VARCHAR(n)
|
CHAR(n)
|
Fixed-length character
string.
Note: Cannot contain ANSI SQL null
values.
|
CHAR(n)
|
1Do not apply date and time SAS formats to a numeric data type. For date and time values, use DATE, TIME, or TIMESTAMP data types. | |||
2Because the values are stored as double precision, floating-point numbers, you can use the values in arithmetic expressions. |