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, 2592🔥, 0💬
Popular Posts:
How To List All Stored Procedures in the Current Database in SQL Server Transact-SQL? If you want to...
What is SQL Server Transact-SQL (T-SQL)? SQL Server Transact-SQL, also called T-SQL, is an extension...
How To Create a Table Index in Oracle? If you have a table with a lots of rows, and you know that on...
How To Start the Command-Line SQL*Plus in Oracle? If you Oracle server or client installed on your w...
What Are Out-of-Range Errors with DATETIME values in SQL Server Transact-SQL? When you enter DATETIM...