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, 2805🔥, 0💬
Popular Posts:
What Are the Differences between BINARY and VARBINARY in MySQL? Both BINARY and VARBINARY are both b...
What is dba.FYIcenter.com Website about? dba.FYIcenter.com is a Website for DBAs (database administr...
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
What Is a Parameter File in Oracle? A parameter file is a file that contains a list of initializatio...
How To Get the Definition of a View Out of the SQL Server in SQL Server? If you want get the definit...