The following table
lists the data type support for an SAP HANA database.
For data source specific
information about the SAP HANA data types, see the SAP HANA database
documentation.
Data Types for SAP HANA
Data Type Definition
Keyword 1
|
|
|
|
|
|
Varying-length character
string.
|
|
|
|
|
|
|
|
Fixed-length binary
data.
|
|
|
|
Varying-length binary
large object string.
|
|
|
|
Varying-length character
string.
|
|
|
|
Varying-length character
large object string.
|
|
|
|
Year, month, and day
values.
|
|
|
|
Signed, exact, fixed-point
decimal number.
|
|
|
|
Double-precision floating-point
number.
|
|
|
|
|
|
|
|
|
|
|
|
Fixed-length Unicode
character string.
|
|
|
|
Fixed-length character
large object string.
|
|
|
|
Varying-length Unicode
character large object string.
|
|
|
|
|
|
|
|
|
|
|
|
Varying-length character
string.
|
|
|
|
Floating-point decimal
number.
|
|
|
|
|
|
|
|
Varying-length Unicode
character large object string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Varying-length binary
string.
|
|
|
|
Varying-length character
string.
|
|
1The CT_PRESERVE= connection
argument, which controls how data types are mapped, can affect whether
a data type can be defined. The values FORCE (default) and FORCE_COL_SIZE
do not affect whether a data type can be defined. The values STRICT
and SAFE can result in an error if the requested data type is not
native to the data source, or the specified precision or scale is
not within the data source range.
|
2The SAP HANA data type
cannot be defined, and when data is retrieved, the native data type
is mapped to a similar data type.
|