Skip to Content.
Sympa Menu

freetds - Re: [freetds] Setting for returned column size in FreeTDS?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Ken Tozier <kentozier AT comcast.net>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Setting for returned column size in FreeTDS?
  • Date: Tue, 15 Aug 2006 00:07:17 -0400


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?






Archive powered by MHonArc 2.6.24.

Top of Page