Details
-
Technical task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
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
- relates to
-
MDEV-20034 Add support for the pre-defined weak SYS_REFCURSOR
- Open
-
MDEV-33830 Support for cursors on prepared statements
- Open