If we can loop through using while loop then what is the use of cursor in sql ?
Using Cursor Over While Loop
what is the need of cursor if we have while loop ?
2 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
Amit GuptaRank #190 · 12.8K reputationPosted Aug 25, 2019, 10:28 AM EDT
Tushar DikshitRank #1,378 · 1.2K reputationPosted Sep 26, 2019, 4:26 AM EDT