Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeTDS & Stored Procs

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Thompbil18 AT aol.com
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] FreeTDS & Stored Procs
  • Date: Thu, 13 Nov 2003 03:45:43 EST

Hi David,

> Is "exec <store procedure> @charparam = 'value',
> @intparam = 123, @dateparam = 'JanĀ  1 2003' "
> the format of a stored proc query whith FreeTDS???

No, thats just straight TSQL like you'd put in query analyzer.

You're using ctlib - that's good, because we have a better interface for
stored procedures in that API. You can do all the things you want with
ct_command(CS_RPC_CMD), ct_param / ct_setparam, and ct_send.

Have a look at the Sybase manual pages for ct-library...

<A
HREF="http://sybooks.sybase.com/onlinebooks/group-cn/cng1250e/ctref/@Generic__BookView";>
http://sybooks.sybase.com/onlinebooks/group-cn/cng1250e/ctref/@Generic__BookView</A>

Good luck,

Bill






Archive powered by MHonArc 2.6.24.

Top of Page