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, 2491🔥, 0💬
Popular Posts:
Where to find answers to frequently asked questions I am new to Oracle database. Here is a list of f...
How To Install PHP on Windows in MySQL? The best way to download and install PHP on Windows systems ...
How To Get the Definition of a Stored Procedure Back in SQL Server Transact-SQL? If you want get the...
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
How To Generate CREATE VIEW Script on an Existing View in SQL Server? If you want to know how an exi...