[freetds] issue with stored proc parameters of type varchar

ocfs2 at asset-control.com ocfs2 at asset-control.com
Mon Jan 5 07:39:15 EST 2009


Got this working after a trip with the debugger.
> Passing varchar parameters works unless you're doing something esoteric
> like using UTF-8.  It's a good idea to use the latest version of the TDS
> protocol supported by your server. 
> 
I am using TDS 5.0 which I believe is the latest version for Sybase ASE 
(15.0).
Fact of the matter however is that in the routine _ct_get_server_type() in 
ct.c
support is missing for CS_VARCHAR_TYPE...
so I am not sure what makes you think that passing varchar parameters 
works.

Tim





More information about the FreeTDS mailing list