![]() |
VOOZH | about |
The CData Excel Add-In for Sybase provides formulas that can edit, save, and delete Sybase data. The following three steps show how you can automate the following task: Search Sybase data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as SybaseConnection1, or a connection string. The connection string consists of the required properties for connecting to Sybase data, separated by semicolons.
To connect to Sybase, specify the following connection properties:
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.
Set the AuthScheme to Password and set the following connection properties to use Sybase authentication.
To connect with LDAP authentication, 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.
To leverage Kerberos authentication, begin by enabling it setting AuthScheme to Kerberos.
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
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Products WHERE ProductName = '"&B6&"'","User="&B1&";Password="&B2&";Server="&B3&";Database="&B4&";Charset="&B5&";Provider=Sybase",B7)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Sybase to get started:
Download NowLearn more:
👁 SAP Sybase IconThe Sybase Excel Add-In is a powerful tool that allows you to connect with live data from Sybase databases, directly from Microsoft Excel.
Use Excel to read, write, and update Sybase. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!