Skip to Content.
Sympa Menu

freetds - RE: how to CALL Sql stored procedure with C?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Kaido Karner" <kaido AT tradenet.ee>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: how to CALL Sql stored procedure with C?
  • Date: Thu, 24 Jan 2002 11:32:30 +0200


> I have succeeded connect to MSSQL 2000 from red hat 7.0. but My purpose is
> calling stored procedure which have return value and parameters. How can I
> do?

to call a procedure and get parameters you can for example do:

declare @blah int
exec some_procedure @blah output
select @blah

the similar approach can be applied to the return values ..

k





Archive powered by MHonArc 2.6.24.

Top of Page