When we can use loop with in the stored procedure then why do we need cursor. i.e. when we can perform the same opearation with stored procedure then why do we need cursor. I am a newbie so my question my sound a bit odd to some
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.
A cursor is just a loop, but over a set of values from a SQL query. If you’re looping through sequential values, then I suppose you don’t need to use a cursor and can just use a manual loop instead.