View the Exhibit and examine the PL/SQL code.
Identify the sections of the code that need to be modified for better performance gains. (Choose
all that apply.)
A.
Use cursors to fetch values.
B.
Remove redundant SQL statements in the procedures.
C.
Avoid the NOT NULL constraint when declaring the variable.
D.
Define and compile procedures independently, and not as part of a package.
A&D are invalid, so valid are B and C.
B , C
A.
true !!
C.
Unnecessary NOT NULL Constraints
In PL/SQL, using the NOT NULL constraint incurs a performance cost.
http://docs.oracle.com/cd/B10501_01/appdev.920/a96624/12_tune.htm
B. (sorry)
true !!
C.
Unnecessary NOT NULL Constraints
In PL/SQL, using the NOT NULL constraint incurs a performance cost.
http://docs.oracle.com/cd/B10501_01/appdev.920/a96624/12_tune.htm