Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
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
-
- Closed
-
-
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 CURSOR declarations in PACKAGE BODY
-
- In Review
-
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | MDEV-10137 [ 56868 ] |
Labels | Compatibility |
Epic Link | MDEV-10137 [ 56868 ] | MDEV-10872 [ 58182 ] |
Labels | Compatibility |
Link | This issue is part of MDEV-11070 [ MDEV-11070 ] |
Fix Version/s | 10.3 [ 22126 ] |
Assignee | Alexander Barkov [ bar ] |
Component/s | Data types [ 13906 ] |
Labels | Compatibility |
Fix Version/s | 10.3 [ 22126 ] |
Assignee | Alexander Barkov [ bar ] |
Labels | Compatibility | Compatibility Oracle |
Assignee | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] |
Workflow | MariaDB v3 [ 75827 ] | MariaDB v4 [ 130487 ] |
Link |
This issue duplicates |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Description |
Implement REF CURSOR.
REF CURSOR is a flexible way to return query results/record sets from stored procedures and functions. https://oracle-base.com/articles/misc/using-ref-cursors-to-return-recordsets |
Implement 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 |
Description |
Implement 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 |
Implement 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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type - we'll be added later TYPE weak_cursor IS REF CURSOR; -- weak type - we'll be added later {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
Summary | Add support for REF CURSOR | Add support for TYPE .. IS REF CURSOR |
Description |
Implement 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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type - we'll be added later TYPE weak_cursor IS REF CURSOR; -- weak type - we'll be added later {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type - we'll be added later TYPE weak_cursor IS REF CURSOR; -- weak type - we'll be added later {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type - we'll be added later TYPE weak_cursor IS REF CURSOR; -- weak type - we'll be added later {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type - we'll be added later TYPE weak_cursor IS REF CURSOR; -- weak type - we'll be added later {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type - we'll be added later TYPE weak_cursor IS REF CURSOR; -- weak type - we'll be added later {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type TYPE weak_cursor IS REF CURSOR; -- weak type {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
Link |
This issue relates to |
Link |
This issue is duplicated by |
Parent | MDEV-19162 [ 74215 ] | |
Issue Type | Task [ 3 ] | Technical task [ 7 ] |
Epic Link | MDEV-10872 [ 58182 ] |
Assignee | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] |
Link | This issue blocks MENT-2086 [ MENT-2086 ] |
Link | This issue blocks MDEV-34323 [ MDEV-34323 ] |
Zendesk Related Tickets | 175219 |
Link | This issue blocks MENT-2098 [ MENT-2098 ] |
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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type TYPE weak_cursor IS REF CURSOR; -- weak type {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of MDEV-10152. |
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: {code:sql} DECLARE TYPE storong_cursor IS REF CURSOR RETURN employees%ROWTYPE; -- strong type TYPE weak_cursor IS REF CURSOR; -- weak type {code} The pre-defined SYS_REFCURSOR is out of scope of this task and we'll be implemented under terms of |
Link | This issue blocks MDEV-34560 [ MDEV-34560 ] |
Link | This issue blocks MDEV-34569 [ MDEV-34569 ] |
Link | This issue is part of MENT-2216 [ MENT-2216 ] |
Link | This issue is part of MDEV-35973 [ MDEV-35973 ] |
Link | This issue is part of MENT-2216 [ MENT-2216 ] |
Link | This issue relates to MDEV-35979 [ MDEV-35979 ] |
Link |
This issue relates to |
Link | This issue relates to MDEV-36053 [ MDEV-36053 ] |
Parent | MDEV-19162 [ 74215 ] | |
Issue Type | Technical task [ 7 ] | New Feature [ 2 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Fix Version/s | 12.1 [ 29992 ] |
Assignee | Alexander Barkov [ bar ] |
Sprint | Server 12.1 dev sprint [ 793 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Sprint | Server 12.1 dev sprint [ 793 ] |