dbTalk Databases Forums  

Connecting to Sybase using C

comp.databases.sybase comp.databases.sybase


Discuss Connecting to Sybase using C in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Suzie
 
Posts: n/a

Default Connecting to Sybase using C - 02-02-2004 , 05:05 AM






Could anybody point me to any tutorials, to connect to sybase using c.
I want to fire an sp and loop thru the recordset to display the
results. I am in solaris 5.2 and sybase 12.5.

Tx

Reply With Quote
  #2  
Old   
Michael Peppler
 
Posts: n/a

Default Re: Connecting to Sybase using C - 02-02-2004 , 09:53 AM






On Mon, 02 Feb 2004 03:05:51 -0800, Suzie wrote:

Quote:
Could anybody point me to any tutorials, to connect to sybase using c. I
want to fire an sp and loop thru the recordset to display the results. I
am in solaris 5.2 and sybase 12.5.
The manuals are at http://sybooks.sybase.com/onlinebooks/group-cn/cng1251e

The exact code that you would use will depend on whether you want to use
DB-Library (older API) or Client Library.

In any case there are sample programs in the OCS-12.5/samples directory
for both APIs.

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.