[DATETIME] weird behavior.

Bob Kline bkline at rksystems.com
Tue Aug 1 16:26:30 EDT 2000


On Tue, 1 Aug 2000, Sergio Arturo Garcia Camargo wrote:

> Im using the freetds JDBC driver with MS-SQL Server 7. When I use
> the ResultSet.getString method to get the value of a DATETIME field,
> it returns teh right String if the DATETIME field has NOT been
> declared "NOT NULL", and a String representing the DATETIME, MINUS 5
> hours(?!?!?!) if the DATETIME field has been declared NOT NULL.
> 
> Any hint?

What version of the driver are you running?  Which version of the
TDS protocol are you using?  What happens when you run test t0001 in the
unittests subdirectory?  If you're not using it already, what happens if
you use the latest snapshot?

-- 
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com




More information about the FreeTDS mailing list