READ Free Dumps For Oracle- 1z0-001
Question ID 8091 | The structure of the DEPT table as: Name Null? Type DEPT NO Not NULL Number(25) DNAME VARCHER2(14) LOC VARCHER2(13) Examine the code: DECLARE Dept_rec dept%ROWTYPE: BEGIN SELECT* INTO dept_rec FROM dept WHERE deptno=10; END; Which PL/SQL statement displays the location of selected department? |
Option A | DBMS_OUTPUT.PUT-LINE(dept_rec); |
Option B | DBMS_OUTPUT.PUT-LINE(dept_rec.loc); |
Option C | DBMS_OUTPUT.PUT-LINE(dept_rec(1).loc); |
Option D | You can't display a single field in the record because they are not specially identified in declarative section. |
Correct Answer | B |
Question ID 8092 | Which statement about implicit cursors is true? |
Option A | Implicit cursors are declared implicitly only for DML statements. |
Option B | Implicit cursors are declared implicitly for all the DML and SELECT statements. |
Option C | Programmers need to close all the implicit cursors before the end of the PL/SQL program. |
Option D | Programmers can declare implicit cursors by using the cursor type in the declaration section. |
Correct Answer | B |