what is curser.

Answer Posted / selvaraj.v

SQL SERVER 2000,

Cursor is a database object used by applications to
manipulate data in a set on a row-by-row basis.

Cursor helps to update, add, select, remove on a row by row
basis on a table.

A cursor is a mechanism by which you can assign a name to
a "select statement" and manipulate the information within
that SQL statement.

We've categorized cursors into the following topics:

1.Declare a Cursor
2.OPEN Statement
3.FETCH Statement
4.CLOSE Statement
5.Cursor Attributes (%FOUND, %NOTFOUND, etc)
6.SELECT FOR UPDATE Statement
7.WHERE CURRENT OF Statement

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are you getting errors when creating a new odbc dsn?

803


What is coalesce in sql server?

729


What is lookup override?

768


How to list all user names in a database?

775


What gets stored inside msdb database?

943






What does it mean to normalize data?

667


How to provide login information for a new odbc dsn?

692


Can you explain the disadvantages/limitation of the cursor?

674


What is 'Join' and explain its various types.

804


Can primary key be null?

681


How to download and install sql server 2005 books online?

762


Do you know what is lock escalation?

769


What do you understand by the analysis services in sql server?

704


How can you ensure that the database and sql server based application perform well?

793


What are the joins in sql server? : sql server database administration

732