text/image datatypes for TDS 7
camber at umcc.ais.org
Mon Nov 29 08:10:50 EST 1999
I've fixed the text and image datatype handling for TDS 7.0 and its in
One little thing I noticed, under TDS 4.2 @@textsize defaults to 4096,
under 7.0 it is 2gig. This crashes sqsh which tries to allocate maxlength
+ 1 (a negative using CS_INT), probably crashes some other stuff as well.
So, if you are using text types under 7.0, I'd recommend doing a 'set
textsize' first. This is BTW dependant on the protocol version,
using 4.2 against a MS SQL 7 server still has textsize at 4096.
More information about the FreeTDS