Oracle Database: Advanced PL/SQL - 1z1-148 模擬練習
Examine the structure of the DEPT table which exists in both BRANCH1 and BRANCH2 schemas:

Examine this code:

Which three modifications must be done to endure the anonymous block displays the output form the BRANCH2.DEF DEPT table?

Examine this code:

Which three modifications must be done to endure the anonymous block displays the output form the BRANCH2.DEF DEPT table?
正解: A,D,E
Which must be true in order to add RESULT_CACHE to a function header and have it compile successfully?
正解: D
With SERVEROUTPUT enabled, you successfully create the package YEARLY_LIST:

Examine this code:

You want to display the contents of CREATE_LIST.
Which two lines need to be corrected in the PL/SQL block? (Choose two.)

Examine this code:

You want to display the contents of CREATE_LIST.
Which two lines need to be corrected in the PL/SQL block? (Choose two.)
正解: B,C
Which two blocks of code execute successfully?
正解: B,D
Examine this code:

Which two are valid correlations to the code to avoid or mitigate SQL Injection?

Which two are valid correlations to the code to avoid or mitigate SQL Injection?
正解: B,E
Which two PL/SQL blocks give the output "this is a test message"?
正解: A,E
You execute this PL/SQL block:

What will be the outcome?

What will be the outcome?
正解: B
Examine this block:

Which two will be correct after line 5?

Which two will be correct after line 5?
正解: C,F
You are logged on to the SCOTT schema and the schema has EMP and DEPT tables already created:
Examine this PL/SQL procedure:

Which PL/SQL block will raise an exception?
Examine this PL/SQL procedure:

Which PL/SQL block will raise an exception?
正解: C