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 15a. 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.