![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 17 Feb 2011 @ 16:17:16 GMT
OH - forgot to mention - June (06 month) has only 30 days and not 31. This will work as well even without the precision - once you have 'valid date' literal values:
Sel *
from dbc.qrylog
where CollectTimeStamp between TIMESTAMP '2010-06-01 10:10:01' and timestamp
'2010-06-30 11:00:59'
sample 5;
JK
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||