Perl Supported Datatypes

The Perl driver supports string, numeric, and date and time datatypes.

String Types

Numeric Types

Note: Perl returns numeric and decimal as strings. Other datatypes are returned in their respective formats.

Date and Time Datatypes

The default time/date format used by the Sybase ASE driver is the short format. For example: “Aug 7 2011 03:05PM”.

This format is based on the “C” locale and must be either set as LC_ALL or LANG to “C” before using the driver.

For information about datatypes, see Using Open Client and Server Datatypes in the Open Client Client-Library/C Programmers Guide.