What are cursors?

Answers were Sorted based on User's Feedback



What are cursors?..

Answer / guest

Well cursors help us to do an operation on a set of data
that we retreive by commands such as Select columns from
table. For example : If we have duplicate records in a table
we can remove it by declaring a cursor which would check the
records during retreival one by one and remove rows which
have duplicate values.

Is This Answer Correct ?    4 Yes 0 No

What are cursors?..

Answer / mohsin mohammed abdul

Cursors are the private memory area in the SGA. they store
the result set of a query. And they are used to fetch
multiple rows from the tables in the pl/sql block

Is This Answer Correct ?    4 Yes 2 No

What are cursors?..

Answer / kuttikrishnan kodoth

if we ant to retrive data from a database table having
duplicate entries which violates primarykey rule
we can handle this case using cursor, it by declaring a
cursor which would check the
records during retreival one by one and remove rows which
have duplicate values. there are many types of cursors to
fetch data in diffrent order like fetch first,fetch
last ,fetct prior,fetch next,fetch abslute n,fetch relative
n

Is This Answer Correct ?    2 Yes 0 No

What are cursors?..

Answer / sathish kumar.t

Cursors is one of the data object which is used to access
and manipulate the datas in the result set.

Is This Answer Correct ?    2 Yes 1 No

What are cursors?..

Answer / srinivas

Cursors are logical areas created on physical areas, i.e.,
tables to find a particular nth record.

Is This Answer Correct ?    1 Yes 0 No

What are cursors?..

Answer / vijay dev saxena

Basically cursor in an active dataset depends on query.
it is good to handling set of data.

Is This Answer Correct ?    1 Yes 0 No

What are cursors?..

Answer / venkat.bolla

Cursors allow you to take a set of data and process record
by record

Is This Answer Correct ?    1 Yes 0 No

What are cursors?..

Answer / mian ghous

broadly speaking ,,cursor can perfomr operaions on database
much like functions except returning a value i think

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More SQL Server Interview Questions

Explain the stored procedure?

0 Answers  


Delete duplicate rows without using rowid.

0 Answers   Nagarro,


What is data file in computer?

0 Answers  


Write a code to select distinct records without using the DISTINCT keyword.

0 Answers   Aspiring Minds,


How to create a stored procedure with a statement block in ms sql server?

0 Answers  






Explain about analysis services?

0 Answers  


Which stored procedure will you be running to add a linked server?

1 Answers  


How do I create a stored procedure in dbml?

0 Answers  


What is collation sensitivity? Explain different types.

0 Answers  


What are the disadvantages of primary key and foreign key in SQL?

0 Answers   Alcatel-Lucent,


how to write test cases for testing databases,especially for testing and writing test cases for stored procedures.any real time database testers.please answer me.

0 Answers  


What is change data capture (cdc) in sql server 2008?

0 Answers  


Categories