-3

I want to know,if procedure and function both return the value in plsql so why we need to go function in plsql.

Ramamoorthi K
  • 19
  • 1
  • 6

2 Answers2

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
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