Can some one tell me the usage of cursor, what is the need of it and where we have to use it?
Thanks.
What is the need of cursor?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Posted Jul 4, 2011, 1:49 AM EDT
http://www.c-sharpcorner.com/UploadFile/skumaar_mca/CursorsAlternative09012009011823AM/CursorsAlternative.aspx
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 4, 2011, 2:29 AM EDT
If windows icon: refer Link
Database related: refer link1:
Link2
Amit ChoudharyRank #145 · 15.8K reputationPosted Jul 4, 2011, 2:30 AM EDT
Cursor is a record set use to hold the data temporarily in the form of rows.
It can be filled by a select statement.
Cursor are always work in a forward mode that means once you navigated to the next row in record set you can't come back just like your SqlDataReader class. This behavior makes them faster.
Suthish NairRank #92 · 22.8K reputationPosted Jul 4, 2011, 5:07 AM EDT
http://forums.asp.net/t/1244649.aspx/1