[freetds] Long column names and PHP

James K. Lowden jklowden at freetds.org
Tue Sep 26 22:12:46 EDT 2006

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.  



More information about the FreeTDS mailing list