|
|
The LOCALTIME Function
Syntax for the LOCALTIME function:
seconds-precision is an unsigned integer value denoting the seconds precision for the returned TIME value.
Rules:
- The result is the current time (i.e. "now") as a TIME value.
- The value of seconds-precision must be between 0 and 9.
- If seconds-precision is not specified, the default value of 0 is assumed.
- In any given SQL statement, all references to LOCALTIME are effectively evaluated simultaneously from a single reading of the server clock. Thus the conditional expression LOCALTIME = LOCALTIME is guaranteed to always evaluate to true.
- In any given SQL statement, the value of LOCALTIME will always be equal to the TIME portion of LOCALTIMESTAMP.
|
Upright Database Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 dbtechnology@upright.se |
|
|