Collections:
Define a Cursor Variable in Oracle
How To Define a Cursor Variable in Oracle?
✍: FYIcenter.com
To define cursor variable, you must decide which REF CURSOR data type to use. There are 3 ways to select a REF CURSOR data type:
The follwoing tutorial exercise defines 3 cursor variables in 3 different ways:
CREATE OR REPLACE PROCEDURE FYI_CENTER AS TYPE emp_ref IS REF CURSOR RETURN employees%ROWTYPE; TYPE any_ref IS REF CURSOR; emp_cur emp_ref; any_cur any_ref; sys_cur SYS_REFCURSOR; BEGIN NULL; END; /
⇒ Open a Cursor Variable in Oracle
⇐ What Is a Cursor Variable in Oracle
2018-07-18, 2618🔥, 0💬
Popular Posts:
How to run Queries with SQL Server Management Studio Express in SQL Server? 1. Launch and connect SQ...
How To Download Oracle Database 10g XE in Oracle? If you want to download a copy of Oracle Database ...
How to calculate the storage size of a JSON (JavaScript Object Notation) value using the JSON_STORAG...
How To Download Oracle Database 10g XE in Oracle? If you want to download a copy of Oracle Database ...
Where to find reference information and tutorials on MySQL database functions? I want to know how to...