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

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

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

相关标签:
7条回答
  • 2020-11-27 14:56

    The following are the major differences between procedure and function,

    1. Procedure is named PL/SQL block which performs one or more tasks. where function is named PL/SQL block which performs a specific action.
    2. Procedure may or may not return value where as function should return one value.
    3. we can call functions in select statement where as procedure we cant.
    0 讨论(0)
提交回复
热议问题