exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 163 discussion

Actual exam question from Oracle's 1z0-071
Question #: 163
Topic #: 1
[All 1z0-071 Questions]

Which two statements are true about CURRENT_TIMESTAMP? (Choose two.)

  • A. The value varies depending on the setting of SESSIONTIMEZONE.
  • B. It returns a value of data type TIMESTAMP.
  • C. The date is in the time zone of DBTIMEZONE.
  • D. It returns the same date as CURRENT_TIME.
  • E. The time is in the time zone of DBTIMEZONE.
  • F. It always returns the same value as SYSTEMTIMESTAMP.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RIDA_007
1 month, 2 weeks ago
A & B are correct! C & E are incorrect because CURRENT_TIMESTAMP reflects the session time zone, not DBTIMEZONE
upvoted 1 times
...
lucemqy
7 months, 3 weeks ago
Selected Answer: AB
AB should be the correct answer
upvoted 2 times
...
jm9999
8 months, 4 weeks ago
Selected Answer: AB
A seems 100%. B is correct if you consider timestamp as the overarching data type of timestamp with time zone and timestamp with local time zone. However if D says current_date then I like AD over AB.
upvoted 2 times
...
musafir
1 year ago
Selected Answer: AD
A - Is correct D - Should be either CURRENT_TIMESTAMP or CURRENT_DATE
upvoted 1 times
...
SantiBZ_07032022_1744
1 year, 4 months ago
select tzname, tz_offset(tzname) from v$timezone_names; select tzname, tz_offset(tzname) from v$timezone_names where tzname = 'America/Anchorage'; alter session set time_zone='America/Anchorage'; select sessiontimezone, current_timestamp, dbtimezone, systimestamp from dual; select current_time from dual; A → OK. B → NOOK: Returns TIMESTAMP WITH TIME ZONE. C → NOOK: No, in the SESSIONTIMEZONE.. D → CURRENT_TIME doesn’t exist. E → NOOK: No, in the SESSIONTIMEZONE. F → NOOK. SYSTIMESTMP returns date based on DBSTIMEZONE.
upvoted 3 times
Darnun
1 year, 3 months ago
Checked on my own, got the same conclusions. Not sure which ones are correct then
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago