Skip to Content.
Sympa Menu

freetds - Re: [freetds] Long column names and PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Long column names and PHP
  • Date: Tue, 26 Sep 2006 22:12:46 -0400

Thomas, Christopher (LLU) wrote:
> One of my tables has a column name that is really long (a little over 30
> characters). [...] When the
> results are returned, for the long column name, it is truncated to just
> the first 30 characters. How do I get the full column name to be
> returned?

That would happen if you're connecting with TDS 4.2 instead of 7.0 or 8.0.
Check your TDSDUMP log or try selecting from a varchar wider than 255
characters. If it's truncated, you're using TDS 4.2.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page