Difference Between Function and Procedure in Oracle PL/SQL
In this Tutorial, We will explore the Difference Between Function and Procedure in PL/SQL.
What is Difference Between Function and Procedure in Oracle PL/SQL?
Function:-
- Function must always return a value.
- Function can be used in SQL statement.
- Function used for computational purpose.
Procedure:-
- Procedure can not return value but using IN and INOUT parameter procedure can return the value.
- We can not run procedure in SQL statement.
- Procedure is basically use for the bussiness logic.
That’s all for today, I hope this (Difference Between Function and Procedure in Oracle PL/SQL) post will be helpful for you. If you like the post then share your view in the comment box.