[freetds] ct_dynamic()/ct_param() support

ZIGLIO Frediano Frediano.Ziglio at vodafone.com
Mon Oct 13 12:02:29 EDT 2003


> 
> At 10:20 AM -0700 10/12/03, Michael Peppler wrote:
> >Thanks - I looked at the code a little, and it *appears* 
> that RPCs are 
> >supported. After two small patches (one to support 
> CS_NULLTERM as the 
> >datalen parameter) I got the code to "work" - but it crashes 
> the MSSQL 
> >2k server that I've got running here (the server crashes *hard*!).
> 
> I spent a good bit of time trying to get this to work, but the 
> problem is that TDS 7 does not support sending parameters, but TDS 5 
> does.
> 
> There were two solutions that looked promising, but were going to be 
> a lot of work so I just gave up on it. One was to declare variables 
> and set them at the end, and I can't remember the other one. Both 
> were pretty skanky.
> 
> I do remember spending many hours packet sniffing queries to SQL 
> Server and found no decipherable packets similar to what Sybase has.
> 

I tested ODBC (SQLPrepare) with both TDS7 and TDS8 without problems (CVS
version)... I think problem is CTLib, see my previous mail.

freddy77


More information about the FreeTDS mailing list