Skip to Content.
Sympa Menu

freetds - Re: [freetds] trouble passing (var)char data to and from stored procedures

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] trouble passing (var)char data to and from stored procedures
  • Date: Tue, 14 Mar 2006 21:40:24 -0500

Alexander Urmazov wrote:
> I have the same problem in 0.64 RC1:
> When I call in PHP
> mssql_bind('dbo.MyProc', '@ParamName', 'xxxx', SQLVARCHAR, FALSE, FALSE,
> 4); I got the message
> mssql_bind(): Unable to set parameter
>
> If I change SQLVARCHAR to SQLCHAR the problem remains
>
> It seems like there were no this error in 0.62

I don't understand this. src/dblib/unittests/rpc.c still works. There
seems to be some incompatibility in the mssql layer. Can anyone narrow it
down? Maybe post a TDSDUMP log of a very simple example?

This needs to be resolved before the release, one way or the other. Maybe
it's just a matter of documenting which version to use....

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page