QuestionQ139

VerifiedManaging Data in Different Time Zones

Review these statements, which run successfully:

Question Image

Review the result:

Question Image

If LOCALTIMESTAMP were selected at the same time, what would it return?

Explanation

LOCALTIMESTAMP returns the current date and time in the session time zone as a TIMESTAMP value. With the session time zone set to -05:00, 11:00:00 at UTC becomes 06:00:00. Because a TIMESTAMP has no time-zone component, the returned display does not include -05:00.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!