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, 2189🔥, 0💬
Popular Posts:
How To Set Up SQL*Plus Output Format in Oracle? If you want to practice SQL statements with SQL*Plus...
How to download and install SQL Server 2005 Sample Scripts in SQL Server? If you want to learn from ...
Where to find answers to frequently asked questions on Conditional Statements and Loops in SQL Serve...
How To Enter Unicode Character String Literals in SQL Server Transact-SQL? Unicode characters are mu...
How to download and install Microsoft SQL Server Management Studio Express in SQL Server? Microsoft ...