Skip to Content.
Sympa Menu

freetds - Re: [freetds] Procedure question

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Fernando <fer.pantaneiro AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Procedure question
  • Date: Wed, 17 Mar 2010 11:03:18 -0400

Thanks for the prompt reply jkl.
It answered my question!


On Wed, Mar 17, 2010 at 8:30 AM, <jklowden AT schemamania.org> wrote:
> On Wed, Mar 17, 2010 at 09:49:38AM -0400, Fernando wrote:
>
>> I want to know the correct way to
>> handle the output parameters I'm retrieving.
>
> http://msdn.microsoft.com/en-us/library/aa936952%28v=SQL.80%29.aspx
>
> You must fetch the result rows with dbnextrow() or cancel them.  (If you
> cancel them, I doubt you'll reliably be able to retrieve output parameters,
> though.)
>
> Binding is optional.  dbbind() is just a convenient way to have the library
> populate your program's variables.
>
> Otherwise your code looks good.
>
> I hope that answers your question.
>
> --jkl
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




Archive powered by MHonArc 2.6.24.

Top of Page