I am doing a testing of DBQL log tables. I enabled DBQL logging for a user 'ABC' and noted the current timestamp in teradata as below
select current_timestamp(2)(title '');
8/21/2013 18:14:22.04
and then after that I ran a bteq as user 'ABC' . All the timestamp values that I see in DBC.DBQLogTbl for the user ABC are lesser than the current_timestamp value shown above. I couldn't understand how the timestamp value in DBQLogTbl can be less even when I ran my queries only after running the above 'select current_timestamp' query. Given below are the value for CollectTimeStamp, LogonDateTime, StartTime from DBQLogTbl
UserName
CollectTimeStamp
LogonDateTime
StartTime
ABC
2013-08-21 17:54:07
2013-08-21 17:54:38
2013-08-21 17:56:59
ABC
2013-08-21 17:56:58
2013-08-21 17:54:58
2013-08-21 17:56:58
ABC
2013-08-21 17:56:58
2013-08-21 17:54:58
2013-08-21 17:56:58
ABC
2013-08-21 17:56:58
2013-08-21 17:54:58
2013-08-21 17:56:58
ABC
2013-08-21 17:56:58
2013-08-21 17:54:58
2013-08-21 17:56:58
It will be good to understand this behaviour.