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
Can you rollback after commit?
what is the difference between a web-garden and a web-farm? : Sql dba
What is dml and ddl?
how to fetch alternate records from a table? : Sql dba
What is a constraint?
Which is faster joins or subqueries?
What is the primary key?
What does where 1 1 mean in sql?
Can you join views in sql?
What do you mean by dbms? What are its different types?
What is #table in sql?
what are the types of subquery? : Sql dba
What is the purpose of a secondary key?
is mysql query is case sensitive? : Sql dba
what are the security recommendations while using mysql? : Sql dba