Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Connect to Sybase Data in DBArtisan
Use wizards in DBArtisan to configure Sybase data as a data source.
The CData ODBC Driver for Sybase seamlessly integrates Sybase data into database management tools like DBArtisan by enabling you to access Sybase data as a database. This article shows how to create an data source for Sybase in DBArtisan and execute queries. You can then edit data visually and execute standard SQL.
Integrate Sybase Data into DBArtisan Projects
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
To connect to Sybase, specify the following connection properties:
- Server: Set this to the name or network address of the Sybase database instance.
- Database: Set this to the name of the Sybase database running on the specified Server.
Optionally, you can also secure your connections with TLS/SSL by setting UseSSL to true.
Sybase supports several methods for authentication including Password and Kerberos.
Connect Using Password Authentication
Set the AuthScheme to Password and set the following connection properties to use Sybase authentication.
- User: Set this to the username of the authenticating Sybase user.
- Password: Set this to the username of the authenticating Sybase user.
Connect using LDAP Authentication
To connect with LDAP authentication, you will need to configure Sybase server-side to use the LDAP authentication mechanism.
After configuring Sybase for LDAP, you can connect using the same credentials as Password authentication.
Connect Using Kerberos Authentication
To leverage Kerberos authentication, begin by enabling it setting AuthScheme to Kerberos. See the Using Kerberos section in the Help documentation for more information on using Kerberos authentication.
You can find an example connection string below:
Server=MyServer;Port=MyPort;User=SampleUser;Password=SamplePassword;Database=MyDB;Kerberos=true;KerberosKDC=MyKDC;KerberosRealm=MYREALM.COM;KerberosSPN=server-name
You can then follow the steps below to register Sybase data as a database instance in your project:
- In DBArtisan, click Data Source -> Register Datasource.
- Select Generic ODBC.
- Enter a name for the data source and select the DSN.
- Finish the wizard to connect to Sybase data. Sybase entities are displayed in the Datasource Explorer.
You can now work with Sybase data as you work with any other database. See the driver help documentation for more information on the queries supported by the Sybase API.