1z0-071 Exam QuestionsBrowse all questions from this exam

1z0-071 Exam - Question 84


Which two will execute successfully? (Choose two.)

Show Answer
Correct Answer: BD

The two statements that will execute successfully are the ones that manage data types correctly. In option B, NVL is used to replace a null value with another, and although there is a typo in 'SYSDATZ', we assume it is meant to be 'SYSDATE', which ensures compatibility since it can handle being replaced by a date value. Option D correctly uses NVL to replace a NULL 'DATE' (interpreted as a string) with 200, making it syntactically correct because NVL can handle different types as long as one is character. Other options involve COALESCE and inconsistent data types or syntax errors that will result in failed execution.

Discussion

11 comments
Sign in to comment
kuffOptions: BD
May 3, 2023

BD is the answer

NelitaOptions: BD
Jun 1, 2023

BD are correct

SangiiiOptions: BD
Aug 27, 2023

B and D is correct answers.

Omar116Options: BD
Oct 10, 2023

checked

Babi265Options: BD
Dec 5, 2022

Checked should be B D. E is wrong "inconsistent data type"

Viviana3184Options: BD
Dec 30, 2022

B D if B is SELECT NVL('DATE', SYSDAte) FROM DUAL;

cadcadleyOptions: BD
Jan 10, 2023

BD IS 100% IF YOU GO TO CHEK

jfc1Options: BD
Jan 17, 2023

E is wrong ORA-00932: inconsistent datatypes: expected CHAR got DATE BD is the correct one

kaplanekOptions: BD
Apr 16, 2023

verified, only BD is correct, E will throw an error ORA-00932

zouveOptions: BD
Jun 22, 2023

checked for E -> ORA-00932: inconsistent datatypes: expected CHAR got DATE

ArslanAltafOptions: BD
Apr 17, 2024

BD is correct provided there is a type on Question B, sysdate