[freetds] Setting for returned column size in FreeTDS?

Ken Tozier kentozier at comcast.net
Tue Aug 15 00:07:17 EDT 2006


On Aug 14, 2006, at 11:48 PM, James K. Lowden wrote:

> Ken Tozier wrote:
>>
>> On Aug 14, 2006, at 9:01 PM, James K. Lowden wrote:
>>
>>> Ken Tozier wrote:
>>>> I'm having this puzzling problem where the largest size column  
>>>> data I
>>>> can get back is 255 characters regardless of how much the column
>>>> field might contain.
>>>
>>> Hmm.  You wouldn't be using TDS 4.2, would you?
>>
>> Nope. I'm using 6.3
>
> No you're not!

Umm. Yes I am! I'm from the future you see : )
>
> I think you might be refering to the version of FreeTDS, the 0.63  
> release.
>  I'm talking about the TDS protocol version, which would be 4.2,  
> 5.0, 7.0,
> or 8.0.
>
> TDS 4.2 doesn't support varchars wider than 255 characters.  That's
> mentioned in the UG in the section that discusses TDS versions.

I think I compiled it with either 7.0 or 8.0 I don't remember now. Is  
there a way to find out which protocol version it's using?





More information about the FreeTDS mailing list