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

Frediano Ziglio freddyz77 at tin.it
Tue Jan 6 11:00:57 EST 2004


Il mar, 2004-01-06 alle 11:49, Andreas Schlögl ha scritto:
> 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
> 

Where do these errors come? I grep FreeTDS source and php source without
finding the error... I think the error/warning came from your script...

freddy77




More information about the FreeTDS mailing list