Details
-
New Feature
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
Description
Implement TYPE .. REF CURSOR.
REF CURSOR is a flexible way to return query results/record sets from stored procedures and functions.
https://docs.oracle.com/database/121/LNPLS/cursor_variable.htm#LNPLS01312
https://oracle-base.com/articles/misc/using-ref-cursors-to-return-recordsets
Under terms of this task we'll implement strong and weak cursor types that need a TYPE definition:
DECLARE
|
TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type |
TYPE weak_cursor IS REF CURSOR; -- weak type |
The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-20034.
Attachments
Issue Links
- blocks
-
MDEV-34323 Oracle compatibility project 3
-
- Open
-
-
MDEV-34560 Qualified package data types
-
- Open
-
-
MDEV-34569 Oracle compatibility project 4
-
- Open
-
- is part of
-
MDEV-11070 Providing compatibility to other databases - Phase 2
-
- Open
-
-
MDEV-35973 Oracle Compatibility Project 1 for 2025
-
- In Progress
-
- relates to
-
MDEV-20034 Add support for the pre-defined weak SYS_REFCURSOR
-
- In Testing
-
-
MDEV-33830 Support for cursors on prepared statements
-
- Open
-
-
MDEV-35979 Oracle: Cursor expressions
-
- Open
-
-
MDEV-36047 Package body variables are not allowed as FETCH targets
-
- Closed
-
-
MDEV-36053 Syntax error on a CURSOR..IS declaration in PACKAGE BODY
-
- Open
-