[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

MS SQL/Sybase/C-API



Hej SSLUG'ere,

Jeg ville gerne kunne kommunikere med Sybase og MS SQL fra et C-program, men kan ikke lige finde ud af hviket API jeg skal bruge.

Jeg har installeret FreeTDS (fra Debian m. dselect) - men hvad nu?
Der findes tilsyneladende ikke nogen dokumentation til C-API'et fra FreeTDS. Er det ctlib eller dblib jeg skal bruge, og kan begge anvendes hvis jeg både vil forbinde til Sybase og MS SQL, eller skal jeg kigge mig om efter noget andet?

Hvor finder jeg dokumentation over API'et?

Er der nogle der har et eksempel jeg kan kigge på?
Noget med tds_connect(..), eller ct_connect(..) - ja, hvad er det lige for en af dem man skal bruge?

Jeg har bare brug for det mest basale - at kunne forbinde til databasen, sende et query afsted og læse svaret. Det er ikke nødvendig at kunne administrere databasen fra C-applikationen, udover at kunne oprette nye tabeller.

Håber der er nogen der kan hjælpe mig lidt videre.

På forhånd tak.


-- 
Med venlig hilsen

Ole Hansen



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *