Ben Clewett schrieb:
Hi Barry,

This will happen when comparing against a TIMESTAMP field.

CREATE TABLE a ( t TIMESTAMP );

SELECT * FROM a WHERE t > '0001-01-01 00:00:00';


Well my msql doesn't give me any errors using that query.
neither a warning.

This "might" be a problem with windows.
Windows has his problem using dates before 1st april 1970.

Probably this is here going wrong.

you can "always" compare ISO datetime formats to timestamps, Datetime fields or whatever.

Barry
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to