QuestionQ101

VerifiedUsing Single-Row Functions to Customize Output

Which two statements are correct about date/time functions in a session in which NLS_DATE_FORMAT is set to DD-MON-YYYY HH24:MI:SS?

Choose two
Explanation

CURRENT_DATE returns the current date and time as a DATE value in the session time zone. CURRENT_TIMESTAMP returns the current date and time in that same session time zone as a TIMESTAMP WITH TIME ZONE value; consequently, its date portion is the same as that of CURRENT_DATE.

Learn more

Community Discussion

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