READ Free Dumps For Oracle- 1z0-144
Question ID 2678 | View Exhibit1 and examine the structure of the EMP table. |
Option A | A. SCOTT’s session shows the EMPNO 100, GREEN'S session shows an error, and SCOTT’s session shows an error. |
Option B | B. SCOTT’s session shows the EMPNO 100, GREEN'S session shows EMPNO 100, and SCOTT’s session shows the EMPNO 101. |
Option C | C. SCOTT’s session shows the EMPNO 100, GREEN'S session shows an error, and SCOTT’s session shows the second EMPNO 101. |
Option D | D. SCOTT’s session shows the EMPNO 100, GREEN'S session shows EMPNO 101, and SCOTT’s session shows the second EMPNO 102. |
Correct Answer | C |
Question ID 2681 | Which two statements correctly differentiate functions and procedures? (Choose two.) |
Option A | A. A function can be called only as part of a SQL statement, whereas a procedure can be called only as a PL7SQL statement. |
Option B | B. A function must return a value to the calling environment, whereas a procedure can return zero or more values to its calling environment. |
Option C | C. A function can be called as part of a SQL statement or PL/SQL expression, whereas a procedure can be called only as a PL/SQL statement. |
Option D | D. A function may return one or more values to the calling environment, whereas a procedure must return a single value to its calling environment. |
Correct Answer | B |