New datatypes supported

The following sections describe the new datatypes that are supported by Open Client 15.0 and Open Server for 15.0.

For more information on the new datatypes, see these documents:


Bigint datatype

A new C-programming, integer datatype named CS_BIGINT is included. CS_BIGINT is a signed, 8-byte integer datatype for use on 32-bit UNIX platforms.


Unsigned int datatypes

The following new C-programming, unsigned integer datatypes are included:

Sybase provides related conversion routines to access these unsigned int datatypes from the data server.


Unitext datatype

A new C-programming server-defined datatype named CS_UNITEXT is included.

CS_UNITEXT is an unsigned, short datatype that contains related conversion routines to access the 2-byte Unicode UTF-16 data from the server. This datatype follows the same rules as CS_TEXT, but in a fixed UTF-16 encoding, regardless of the Adaptive Server default character set.

The variable-length unitext datatype can hold up to 1,073,741,823 Unicode characters (2,147,483,646 bytes).


XML datatype

A new C-programming, server-defined datatype named CS_XML is included.

CS_XML is an internal C-language, unsigned character datatype for all platforms. It includes related conversion routines to access the variable-width XML data from the server.

The behavior of this datatype is similar to the standard CS_TEXT and CS_IMAGE datatypes, except it represents XML data.

Syntactically, CS_XML can be used anywhere that CS_TEXT and CS_IMAGE are used.

NoteASE 15.0 does not currently support the XML datatype.