Product specifications
14.1.7 Sybase CTL
The following table lists the data types that show up through Sybase CTL and their equivalent in data
foundations.
Note:
Sybase CTL data types are values of datatype field of CS_DATAFMT structure, which is actually
exposed by the network layer. The usertype field value of the structure is also provided for some data
types and used for mapping by the Data Access layer.
Data foundation data typeSybase CTL usertypeSybase CTL data type
BINARYCS_BINARY_USERTYPECS_BINARY_TYPE
VARBINARY
CS_VARBINARY_USERTYPE or
no value
CS_BINARY_TYPE
VARBINARYCS_LONGBINARY_TYPE
LONGVARBINARYCS_IMAGE_TYPE
BITCS_BIT_TYPE
DATECS_DATE_TYPE
TIMESTAMP
CS_BIGDATETIME_TYPE,
CS_BIGTIME_TYPE,
CS_DATETIME_TYPE,
CS_DATETIME4_TYPE,
CS_TIME_TYPE
LONGVARCHAR
CS_LONGCHAR_TYPE,
CS_TEXT_TYPE
BIGINT
CS_BIGINT_TYPE, CS_UBIG-
INT_TYPE
2012-03-15188
Data type conversion reference