Which statement Is true about the output of the PL/SQL block?

View the Exhibit to examine the PL/SQL code:

SREVROUPUT is on for the session. Which statement Is true about the output of the PL/SQL block?

View the Exhibit to examine the PL/SQL code:

SREVROUPUT is on for the session. Which statement Is true about the output of the PL/SQL block?

A.
The output is x = y.

B.
It produces an error.

C.
The output Is x != y.

D.
The output Is Can’t tell if x and y are equal or not.

Explanation:



Leave a Reply 22

Your email address will not be published. Required fields are marked *


samkelo siyabonga ngubo

samkelo siyabonga ngubo

D

Vladimir_K

Vladimir_K

I think the following code should be here:

DECLARE
x NUMBER := 5;
y NUMBER := NULL;
BEGIN
IF x != y THEN — yields NULL, not TRUE
DBMS_OUTPUT.PUT_LINE(‘x != y’); — not run
ELSIF x = y THEN — also yields NULL
DBMS_OUTPUT.PUT_LINE(‘x = y’);
ELSE
DBMS_OUTPUT.PUT_LINE
(‘Can”t tell if x and y are equal or not.’);
END IF;
END;
/

Source: http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/fundamentals.htm#LNPLS002

Answer: D

PIERO

PIERO

SURPRISE…………
REALLY I’D LIKE UNDERSTAND WHAT’S HAPPENING IN THE ORACLE ENGINE WHEN A SIMILAR TEST IS WORKING
I CERTAINLY KNOW THAT IN ORACLE THEORY (NOT IN IBM FOR INSTANCE) TWO IDENTICAL VARIABLES SET TO NULL ARE NOT IDENTICAL.

I’VE ACCEPTED THIS ONE THEORY,
BUT REALLY IT SEEMS STUPID DON’T ADMIT THAT TWO IDENTICAL VARIABLES, ONE WITH A VALUE AND ONE NOT, ARE NOT IDENTICAL.

PLEASE ANYONE CAN HELP TO ME TO UNDERSTAND AND ACCEPT (LEARN) THIS STUPIDITY ?

REALLY, PLEASE, HOW DOES THE ENGIN WORKS ?

SORRY FOR MY IGNORANCE, PLEASE WRITE ALSO TO MY ADDRESS ; [email protected]

THANKS A LOT

Uladzimir

Uladzimir

oracle approach is right.
How i see it:
NULL = any value.
Any value cannot be equal any value, this why NULL != NULL

piero

piero

Thanks a lot for the answer

please, help to me to learn what’s necessary to pass 1z0-144 exam,
really important

where can i found other terrible questions?

roman

roman

D
Result:
Can’t tell if two NULLs are equal

gruzker

gruzker

questions are 100% valid. some answers are wrong. got 95% marks in 1z0-144 exam.thanks guys

anastasia

anastasia

Hello,

Congratulations!!!!

Can you please tell me if you had questions at the exam 1zo-144 from this block or the other 2 versions of the questions found on this site??? I have see that there are 3 separate sets of questions.

gruzker

gruzker

email me [email protected] for valid dumps guys.happy to help u. 🙂

Harish

Harish

Hi bro, Can you mail me the dumps. It will be so helpful for me 🙂 I have even requested you in mail.

Bruno

Bruno

Passed the exam today with 82%.
About 15 new question.

Xinqi

Xinqi

Would u share me the dump u are using, thanks.

matea29

matea29

Please share dumps and which country did you take the exam?

Please help 🙂

priya

priya

can someone share me the latest dumps with 100 % valid questions to pass.
please send me the dumps in the below mail id [email protected]

priya

priya

please help 🙂

Valts

Valts

Hi! Can someone send me the latest dumps please? I am taking the exam next week. My email – [email protected]
Thank you in advance!