Function used to compute a value - PL/SQL Subprograms

Q.  PL/SQL has two types of subprograms, procedures and functions. Which subprogram is used to compute a value?
- Published on 08 Jul 15

a. Procedure
b. Function
c. Both A & B
d. None of the above

ANSWER: Function
 
A function is same as a procedure but a procedure does not return a value whereas a function returns a value.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)