Functions vs procedures in Oracle

后端 未结 7 1838
鱼传尺愫
鱼传尺愫 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

提交回复
热议问题