|
Archives of the TeradataForumMessage Posted: Wed, 28 Feb 2007 @ 12:46:43 GMT
Victor Sokovin wrote:
Define "right time"
I don't know exactly, but if NTP (network time protocol) is implemented: "NTPv4 can usually maintain time to within 10 milliseconds (1/100 s) over the public Internet, and can achieve accuracies of 200 microseconds (1/5000 s) or better in local area networks under ideal conditions." en.wikipedia.org/wiki/Network_Time_Protocol A timestamp supplied by Teradata supports only 1/100 of a second, so NTP should result in the same time across nodes, at least in most cases :-)
It depends on the PE/node of your session.
Ack. And if you want an order for Insert/Selects into a queue table, you have to use "current_timestamp + rank() over (...) * interval '0.000001' second" Dieter
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||