Skip to Content.
Sympa Menu

freetds - [freetds] possible bug in 0.62rc2 with field type 'datetime' on MSSQL7

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Andreas Schlögl <andreas.schloegl AT aon.at>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] possible bug in 0.62rc2 with field type 'datetime' on MSSQL7
  • Date: Tue, 6 Jan 2004 11:49:06 +0100

I'm using odbc related PHP commands over unixODBC against a MSSQL7.0 server.
Genarally it works fine, but last night I found that this specific 2
situations seems to fail:
odbc_filed_type() will report
1.)
a field of type 'timestamp' will result in type 'binary' using
odbc_field_type() call from PHP
2.)
a field of type 'datetime' will result in type 'timestamp' using
odbc_field_type() call from PHP

I have not tested all available types, but these are fine:
INTEGER
SMALLINT
TINYINT
VARCHAR

--
Andreas





Archive powered by MHonArc 2.6.24.

Top of Page