[freetds] Getting stored procedure output parameters andreturnvalues

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Apr 12 06:02:49 EDT 2007


> 
> Hi Frediano, thank's for your help.
>    
>   But problem continues. In odbc32 from Microsoft, I do this. 
> It realy works.
>   But in unixODBC don't.
>    
>   My SP do not return record sets or rows affected, simply 
> set an output parameter. 
>    
>   See:
>    
>   create procedure sp_test
>       @res int output
> as 
>   set @res = 456
> 

This should be related to how tokens are readed.. ms odbc usually handle
more tokens so it catches parameters earlier. Current CVS (I don't
remember 0.64) should handle tokens quite accurately. I'll do a check,
perhaps there's already a test for this problem.

freddy77



More information about the FreeTDS mailing list