Collections:
Open and Close an Explicit Cursor in Oracle
How To Open and Close an Explicit Cursor in Oracle?
✍: FYIcenter.com
An existing cursor can be opened or closed by the OPEN or CLOSE 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
OPEN c_list;
OPEN t_list;
CLOSE c_list;
CLOSE t_list;
END;
/
⇒ Retrieve Data from an Explicit Cursor in Oracle
⇐ Define an Explicit Cursor in Oracle
2018-07-22, 2969🔥, 0💬
Popular Posts:
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...
What Happens to an Arithmetic Operation with Two Different Data Types in SQL Server Transact-SQL? Wh...
What Is Oracle in Oracle? Oracle is a company. Oracle is also a database server, which manages data ...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...