![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 10 Oct 2002 @ 20:15:38 GMT
Rajech, Your problem is the format of '2002-01-01'. Try this: select (date - cast('2002-01-01' as date format 'yyyy-mm-dd')); Hope this works for you. Johannes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||