These notes were written for Sybase v12.5, and the Sybase ODBC Driver SYODASE.DLL.
In order to connect to a Sybase database, you need to install the Sybase Client. When you install this, make sure the ODBC Driver is selected as part of the install.
In order to access your Sybase server using AQT, you will need to configure an ODBC Datasource for your server. The general process for doing this is described in Configuring a Database Connection.
To configure this, specify:
Winsock
.sybnt1,2048
. If the database resides on the same machine as your client, specify a hostname as localhost (eg. a network address of: localhost,2048
).In addition, there are some settings on the Performance tab which we recommend you set:
1-Direct
2-Full
It is recommended that you click on Test Connect to ensure that your connection has been configured correctly.
In addition, we recommend you set the AQT Option > Technical Parameters > For Sybase and SQL Server, use SET ROWCOUNT. This is discussed in more detail in Rowcount for SQL Server and Sybase.