Declaring a Cursor Assignment Help

Assignment Help: >> Explicit cursors - Declaring a Cursor

Declaring a Cursor:

Cursor declaration describes the name and structure of the cursor together with the SELECT statement which will populate the cursor with data. This query is validated but not executed. To declare a cursor the keyword CURSOR is used. A syntax to declare a cursor is given below:

Syntax:

CURSOR <cursorname> IS <query>

Example:

CURSOR C1 is SELECT ename,job FROM emp;

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd