Académique Documents
Professionnel Documents
Culture Documents
Which is
the Mark for Review
correct (1) Points
order for
the
execution
flow of
SQL?
Parse
Bind
Execute
Fetch
(*)
Execute
Parse
Fetch
Bind
Bind
Parse
Execute
Fetch
Parse
Fetch
Bind
Execute
2. Only one call to DBMS_SQL is needed in order to drop a table. True or False?
Mark for Review
(1) Points
True
False (*)
Correct
True (*)
False
Correct
Correct
6. When SQL
statements Mark for Review
are (1) Points
included
within a
procedure,
the
statements
are parsed
when the
procedure
is
compiled.
True or
False?
True (*)
False
Correct
Correct
9. FORALL can only be used with the INSERT statement. True or False?
Mark for Review
(1) Points
True
False (*)
Correct
10. You want to take make a copy of all the cities in the world listed in the cities
table, which contains millions of rows. The following procedure accomplishes Mark for Review
this efficiently. True or False? (1) Points
True (*)
False
Correct
11. What
are Mark for Review
benefits (1) Points
of using
the
NOCOPY
hint?
(Choose
two)
12. Where would you place the BULK COLLECT statement in the following example?
Mark for Review
DECLARE (1) Points
TYPE DeptRecTab IS TABLE OF departments%ROWTYPE;
dept_recs DeptRecTab;
CURSOR c1 IS
SELECT department_id, department_name, manager_id, location_id
-- Position A
FROM departments
WHERE department_id > 70;
BEGIN
OPEN c1
-- Position B;
FETCH c1
-- Position C
INTO dept_recs;
END;
Position A
Position B
Position C (*)
13. FORALL can be used with any DML statement. True or False?
Mark for Review
(1) Points
True (*)
False
Correct
14. Deterministic means the function will always return the same output return value
for any given set of input argument values. True or False? Mark for Review
(1) Points
True (*)
False
Correct
15. In the following example, where do you place the phrase BULK COLLECT?
Mark for Review
... (1) Points
BEGIN
SELECT -- Position A
salary -- Position B
INTO v_saltab -- Position C
FROM employees WHERE department_id = 20 ORDER BY salary
-- Position D
;
...
Position A
Position B (*)
Position C
Position D
Correct