I want to know,if procedure and function both return the value in plsql so why we need to go function in plsql.
Asked
Active
Viewed 145 times
2 Answers
0
The function and procedure is not the samething . Please refer the below link for reference. What is the difference between function and procedure in PL/SQL?

Community
- 1
- 1

Ashish Awasthi
- 94
- 8
0
Procedures and Functions are not same there are lot of difference please find below one simple one for better understanding
Function
Select substr('abc',1,2) from dual - is possible
Procedure
Select sample_procedure('abc') from dual - is not possible