I am reading a book for stored procedures and they are explaining cursors inside it but i didn’t happen to find a decent use for Cursors or a rule scenario where Cursor usage is a must.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use cursors when you want to loop on a result set from a select statement to do something with each row. It is like the foreach in any programming language.