Collections:
Define an Explicit Cursor in Oracle
How To Define an Explicit Cursor in Oracle?
✍: FYIcenter.com
An explicit cursor must be defined in the declaration part of a procedure or function with the CURSOR ... IS statement as shown in the following sample script:
DECLARE
CURSOR c_list IS SELECT * FROM countries;
CURSOR t_list IS SELECT * FROM employees
WHERE employee_id = 100;
BEGIN
NULL;
END;
/
⇒ Open and Close an Explicit Cursor in Oracle
⇐ Loop through the Implicit Cursor in Oracle
2018-07-22, 2514🔥, 0💬
Popular Posts:
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
What Is a Parameter File in Oracle? A parameter file is a file that contains a list of initializatio...
How To Convert Characters to Numbers in Oracle? You can convert characters to numbers by using the T...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...