![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 05 Aug 2010 @ 19:09:00 GMT
Please try some thing like this:
Select *
FROM DBC.Logonrules
WHERE
((
(current_timestamp(0))
- (CreateTimeStamp ( timestamp(0)))
) day(4) ) <7
ORDER BY CreateTimeStamp DESC
;
HTH!
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||