difference in using loop and using cursor in sql

most interviewer ask this question


3 Answers
1-3 of  3
3 Answers
  • Loop will execute code over and again as  settled number of times 

    CURSOR will get and process/execute the code till end of the cursor information.

  • loop will execute code repeatedly as mintioned fixed number of times
    CURSOR will fetch and process/execute the code till end of the cursor data.

Sql Server

Didn't get the answer.
Contact people of Talent-Sql Server directly by clicking here