|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Can anybody point me to an example for calling a MySQL Stored Procedure
(with parameters) from a GCC C application? I've navigated the MySQL docs several times, and done quite a bit of Googling, but always end up on a page that promises "more information" if I buy a subscription. Anybody have a small chunk of sample code? I just need to be able to pass in a string and get back a result-set and the errors (if any). Thanks! Terry |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sun, 10 Feb 2008 03:29:48 +0100, Terry Carmen <terry@cnysupport.com>
wrote: > Can anybody point me to an example for calling a MySQL Stored Procedure > (with parameters) from a GCC C application? > > I've navigated the MySQL docs several times, and done quite a bit of > Googling, but always end up on a page that promises "more information" > if I buy a subscription. > > Anybody have a small chunk of sample code? I just need to be able to > pass in a string and get back a result-set and the errors (if any). http://www.kitebird.com/mysql-book/ch06-3ed.pdf -- Rik Wasmus |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Rik Wasmus wrote:
> On Sun, 10 Feb 2008 03:29:48 +0100, Terry Carmen <terry@cnysupport.com> > wrote: > >> Can anybody point me to an example for calling a MySQL Stored >> Procedure (with parameters) from a GCC C application? >> >> I've navigated the MySQL docs several times, and done quite a bit of >> Googling, but always end up on a page that promises "more information" >> if I buy a subscription. >> >> Anybody have a small chunk of sample code? I just need to be able to >> pass in a string and get back a result-set and the errors (if any). > > http://www.kitebird.com/mysql-book/ch06-3ed.pdf Thank-you very much! That's exactly what I was looking for! Terry |
|
![]() |
| Outils de la discussion | |
|
|