Skip to Content.
Sympa Menu

freetds - ODBC and column names

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Paul Rensing <prensing AT cimetrics.com>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: ODBC and column names
  • Date: 27 Aug 2002 16:25:03 -0400


I was having trouble with column names in ODBC and ran across the code
in SQLDescribeCol(). In there, it uppercases the column names and
truncates them to the size of the provided space.

So, 2 questions.

1) Does ODBC require uppercasing of column labels?

2) If it truncates the name, there seems to be a bug in that, in the
variable pcbColName, it returns the real length of the string, not the
truncated length. What is it supposed to return?

Thanks.

Paul Rensing







Archive powered by MHonArc 2.6.24.

Top of Page