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
How do I save the results of sql query in a file?
Can we use insert statement in function?
What is sql*loader?
What are the types of dbms?
How many scalar data types are supported in pl/sql?
How to display Row Number with Records in Oracle SQL Plus?
Can triggers stop a dml statement from executing on a table?
What are character functions?
What is mutating table error?
what is the use of friend function? : Sql dba
Can a foreign key be a duplicate?
What are sql commands?
Is sql a oracle?
what is cross join? : Sql dba
What are the 3 types of behavioral triggers?