[freetds] ct_dynamic()/ct_param() support

Mark J. Lilback mark at lilback.com
Mon Oct 13 00:33:35 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.

-- 
__________________________________________________________________________
                                   "They that can give up essential liberty
Mark J. Lilback                    to obtain a little temporary safety
<mark at lilback.com>                 deserve neither liberty or safety."
http://www.lilback.com/                               -- Benjamin Franklin


More information about the FreeTDS mailing list