difference between cursor and procedure in a package

Answer Posted / avi007

cursor-
1 cursor is small memory area to perform selection on the
one or more table.
2 cursor is a variable which is 2 dimentional array, it is
handling, storing and processin multiple rows.
3 storing data temporarily.
4 fetching rows from top to bottom.
5 fetching row one at a time.

procedure -
1 procedure is an object of database.
2 need to compile and execute.
3 dml operation performed in the block.

Is This Answer Correct ?    33 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is indexing oracle sql?

744


What is recursive stored procedure?

818


What are the set operators in sql?

776


How many triggers can be applied on a table?

672


what is the difference between union and union all? : Sql dba

728






What are triggers and its uses?

790


How can I speed up sql query?

707


What is the difference between a database and a relational database?

767


Define select, insert, create, delete, update, drop keywords

776


Explain the working of foreign key?

726


How many databases can sql express handle?

729


What is scalar function in sql?

706


what is the difference between clustered and non clustered index in sql? : Sql dba

737


What are the syntax and use of the coalesce function?

775


What does select * from mean in sql?

2544