Functions vs procedures in Oracle

后端 未结 7 1825
鱼传尺愫
鱼传尺愫 2020-12-04 15:18

can anybody explain what is the main difference between functions and procedures in Oracle? Why must I use procedures if I can do everything with functions?

  1. I
相关标签:
7条回答
  • 2020-12-04 16:09

    i think the major difference is :

    Functions can not contain DML Statemnt whereas the procedures can. for example like Update and Insert.

    if i am wrong correct me

    0 讨论(0)
提交回复
热议问题