X/Open data type constants
If your programs conform to the X/Open standards (compile
with the
-xopen option), you must use the data type values
that the following table shows.
HCL OneDB™ defines
the constants for these values in the
sqlxtype.h header
file.
Table 1. Constants for HCL
OneDB SQL
column data types in an X/Open environment
SQL data type |
Defined constant |
X/Open integer value |
CHAR |
XSQLCHAR |
1 |
DECIMAL |
XSQLDECIMAL |
3 |
INTEGER |
XSQLINT |
4 |
SMALLINT |
XSQLSMINT |
5 |
FLOAT |
XSQLFLOAT |
6 |
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.