Functions vs procedures in Oracle

后端 未结 7 1823
鱼传尺愫
鱼传尺愫 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 15:50

    As I know, Store procedure is compiled once and can be called again and again without compiled again. But function is compiled each time called. So, Store procedure improves performance than function.

提交回复
热议问题