![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 06 Aug 2010 @ 21:27:00 GMT
You may need to cast the timestamp to date .. This should work ..
SELECT
*
FROM DBC.Logonrules
WHERE Date - cast(CreateTimeStamp as date) < 7
ORDER BY CreateTimeStamp DESC;
Regards Jaydeep.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||