Difference between timestamp(0) and timestamp(6)

26,087

Solution 1

timestamp(p), where p is the number of digits in the fractional part of second (microseconds), 0 ⇐ p ⇐ 6. With 0 there are no fractions of the second.

Solution 2

The number (0 or 6) is the number of digits for fractions of a second that you want to store. 6 is the maximum.

Share:
26,087
user1172117
Author by

user1172117

Updated on July 09, 2022

Comments

  • user1172117
    user1172117 almost 2 years

    Can some body tell me the difference between timestamp(0) and timestamp(6) in Teradata