Sybase Adaptive Server Anywhere Reference page 284

Table of Contents

Advertisement

Character data types
Parameters
Standards and
compatibility
See also
LONG VARCHAR data type [Character]
Function
Syntax
Standards and
compatibility
See also
TEXT data type [Character]
Function
Syntax
Standards and
compatibility
266
For strings up to 254 bytes in length, the storage requirements are the
number of bytes in the string plus one additional byte. For longer strings,
there is more overhead.
Strings of multi-byte characters can be held as the CHAR data type, but it is
important to note that max-length is in bytes, not characters.
max-length
The maximum length of the string, in bytes. The maximum
size allowed is 32,767.
SQL/92
Compatible with SQL/92.
Compatible with Adaptive Server Enterprise. The maximum
Sybase
max-length for Adaptive Server Enterprise is 255.
"CHAR data type" on page 265
"LONG VARCHAR data type" on page 266
Arbitrary length character data.
LONG VARCHAR
Usage
Arbitrary length strings. The maximum size is limited by the maximum size
of the database file (currently 2 gigabytes).
In addition to the length of the string itself, there is some additional overhead
for storage.
SQL/92
Vendor extension.
Not supported in Adaptive Server Enterprise.
Sybase
"CHAR data type" on page 265
"CHARACTER VARYING data type" on page 265
This is a domain. It is implemented as a LONG VARCHAR allowing NULL.
TEXT
Usage
Arbitrary length strings. The usage is as for LONG VARCHAR.
Vendor extension.
SQL/92
Sybase
Compatible with Adaptive Server Enterprise.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?

Questions and answers

Table of Contents