READ Free Dumps For Oracle- 1z0-144
Question ID 2629 | Which two tasks should be created as functions instead of as procedures? (Choose two.) |
Option A | A. Reference host or bind variables in a PL7SQL blockof code |
Option B | B. Tasks that compute and return multiple values to the calling environment |
Option C | C. Tasks that compute a value that must be returned to the calling environment |
Option D | D. Tasks performed in SQL that increase data independence by processing complex data analysis |
Correct Answer | A,C |
Question ID 2630 | View Exhibit1 and examine the structure of the employees table. |
Option A | A. It executes successfully. |
Option B | B. It gives an error because the SAL variable is not visible in the increase function. |
Option C | C. It gives an error because the increase function cannot be called from the RAISE_SALARY procedure. |
Option D | D. It gives an error because the increase function and the RAISE_SALARY procedure should be declared at the beginning of the declare section before all the other declarations. |
Correct Answer | A |