ODBC Driver for SAP Sybase Adaptive Server Enterprise

Connection String Options - SAP Sybase ASE ODBC driver

Connection String Options - ODBC Driver for SAP Sybase Adaptive Server Enterprise

The following table describes the options that you can include in the connection string for SAP Sybase Adaptive Server Enterprise:
Option Description


Serves to supply the server name for login.


Used to specify the port number for the connection. 5000 by default.

User ID

Used to supply a unique User ID for login.


Used to supply a password for login.


Used to set the name of the database


Used to specify the time in seconds before an attempt to make a connection is considered unsuccessful.


Used to specify the version of the Internet Protocol. IPv4 and IPv6 are available. The IPv4 + IPv6 value allows to check for available protocol versions and use the first available automatically.

Advanced Settings

Option Description

Empty strings as NULL

To retrieve metadata, not all parameters according to MSDN can accept a null value. If NULL, the driver should return an error. But some 3rd-party tools pass NULL to the parameters. These options should be enabled for compatibility with such tools.

Allow NULL strings


Enables using local regional settings when converting numbers to string.


Enables using local regional settings when converting dates and times to string.


Adaptive Server Enterprise cannot distinguish SQL_CHAR from SQL_VARCHAR, SQL_WCHAR from SQL_WVARCHAR, and SQL_BINARY from SQL_VARBINARY on preparing an SQL statement. It can break compatibility with some third-party tools. So the driver always returns SQL_VARCHAR instead of SQL_CHAR, SQL_WVARCHAR instead of SQL_WCHAR, and SQL_VARBINARY instead of SQL_BINARY in metadata. To change this behavior and allow returning fixed types in metadata, this parameter should be set to True.

ASE ODBC Connection String

DRIVER={Devart ODBC Driver for ASE};User ID=sa;Server=ASEserver;Data Source=master;Port=5000

See also:

© 2015-2018 Devart. All Rights Reserved. Request Support ODBC Forum Provide Feedback