What is the difference between function and procedure in PL/SQL?

后端 未结 7 1060
日久生厌
日久生厌 2020-11-27 14:30

What is the difference between function and procedure in PL/SQL ?

7条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 14:52

    1. we can call a stored procedure inside stored Procedure,Function within function ,StoredProcedure within function but we can not call function within stored procedure.
    2. we can call function inside select statement.
    3. We can return value from function without passing output parameter as a parameter to the stored procedure.

    This is what the difference i found. Please let me know if any .

提交回复
热议问题