What is the difference between explicit and implicit cursors in Oracle?

前端 未结 16 1924
温柔的废话
温柔的废话 2020-12-08 07:41

I am a bit rusty on my cursor lingo in PL/SQL. Anyone know this?

16条回答
  •  感情败类
    2020-12-08 08:23

    An explicit cursor is one you declare, like:

    CURSOR my_cursor IS
      SELECT table_name FROM USER_TABLES
    

    An implicit cursor is one created to support any in-line SQL you write (either static or dynamic).

提交回复
热议问题