what is a cursor

Answer Posted / t.r.sekhar

cursor is a temporary buffer used to hold the transactional
data for the manipulation purpose.
data will not permanently stored in database.
it is not reusable.

syntax:
cursor <cursor name> is <select stmt);
we have two types of cursors are there.
1.implicit cursors-automatically created whenever dml
statements are executed.
2.explicit cursors-created by user

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is before and after trigger?

691


List the ways to get the count of records in a table?

655


What is dba in sql? : SQL DBA

745


what is isam? : Sql dba

768


How does rowid help in running a query faster?

1155






What is numeric function sql?

722


What is user defined functions?

746


Does truncate table reset auto increment?

722


Can a foreign key have a different name?

695


What are the different ways to optimize a sql query?

679


How does one use sql*loader to load images, sound clips and documents? : aql loader

883


What is difference between cursor and trigger?

761


What are sql objects?

738


what is self-join? : Sql dba

756


What are the usages of sql?

752