QuestionQ108

VerifiedUsing Single-Row and Aggregate Functions

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 in the session time zone as a DATE value. CURRENT_TIMESTAMP also uses the session time zone, returning a TIMESTAMP WITH TIME ZONE value; therefore, its calendar-date component matches that of CURRENT_DATE.

Learn more

Community Discussion

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