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

前端 未结 16 1958
温柔的废话
温柔的废话 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:14

    With explicit cursors, you have complete control over how to access information in the database. You decide when to OPEN the cursor, when to FETCH records from the cursor (and therefore from the table or tables in the SELECT statement of the cursor) how many records to fetch, and when to CLOSE the cursor. Information about the current state of your cursor is available through examination of the cursor attributes.

    See http://www.unix.com.ua/orelly/oracle/prog2/ch06_03.htm for details.

提交回复
热议问题