Which two statements are true about the continue statement? (Choose two.)
B E
View the Exhibit to examine the PL/SQL code:
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
(Cant tell if x and y are equal or not.);
END IF;
END;
/
SREVROUPUT is on for the session. Which statement is true about the output of the PL/SQL block?
D
In which of the following scenarios would you recommend using PL/SQL records?
A
View the Exhibit and examine the structure of the EMP table.
You want to create two procedures using the overloading feature to search for employee details based on either the
employee name or employee number. Which two rules should you apply to ensure that the overloading feature is used
successfully? (Choose two.)
B E
Which two statements are true about anonymous blocks and named subprograms? (Choose two)
A B
View the Exhibit to examine the PL/SQL code.
SERVEROUTPUT is on for the session.
Which statement is true about the execution of the code?
C
Which two statements are true about the %ROWTYPE attribute? (Choose two.)
C D
View the Exhibit and examine the structure of the EMP table.
Examine the following block of code:
Which stages are performed when the above block is executed? (Choose all that apply.)
C
Explanation:
Reference
https://www.ibm.com/support/knowledgecenter/en/SS6NHC/com.ibm.swg.im.dashdb.apdv.plsql.doc/doc/c0053844.html
View Exhibit 1 and examine the structure of the EMP and DEPT tables.
View Exhibit 2 and examine the trigger code that is defined on the DEPT table to enforce the update and delete restrict
referential actions on the primary key of the DEPT table.
What is the outcome on compilation?
B
View the Exhibit and examine the structure of the employees table.
Execute the following block of code:
What is the outcome?
C