![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 25 May 2004 @ 15:10:49 GMT
Hi all, I'm trying to substract 1 year or 12 months from 2004-02-29 and I have <2665 Invalid date> error message.
SELECT CAST('2004-02-29' AS DATE) - INTERVAL '12' MONTH
SELECT CAST('2004-02-29' AS DATE) - INTERVAL '1' YEAR
Is it a bug? Rudel Simard
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||