Help regarding cursor
what is mean by cursor in sql server.explain with a simple example.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Apr 27, 2012, 12:25 AM EDT
MuthuMari MRank #5,738 · 288 reputationPosted Apr 27, 2012, 12:21 AM EDT
Cursor is used for row-by row operations. The cursor is so named because it indicates the current position in the resultset.
A cursor is a set of rows together with a pointer that identifies a current row.
In other word, Cursor is a database object used by applications to manipulate data in a set on a row-by-row basis, its like recordset in the ASP and visual basic.
pls refer this url
http://www.sqlinfo.in/2011/04/sql-server-cursor-simple/
http://www.mssqlcity.com/Articles/General/UseCursor.htm
thanks
If this post is useful then mark it as "Accepted Answer"