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, 2543🔥, 0💬
Popular Posts:
How To Connect to a MySQL Server with a Port Number in MySQL? If you want to connect a MySQL server ...
What Is an Oracle Tablespace in Oracle? An Oracle tablespace is a big unit of logical storage in an ...
How to download and install SQL Server 2005 Sample Scripts in SQL Server? If you want to learn from ...
How To Install PHP on Windows in MySQL? The best way to download and install PHP on Windows systems ...
How To Calculate Age in Days, Hours and Minutes in SQL Server Transact-SQL? On many Web sites, news ...