what is purpose of cursor in sql

Solutions on MaxInterview for what is purpose of cursor in sql by the best coders in the world

showing results for - "what is purpose of cursor in sql"
Flynn
18 Oct 2016
1A SQL Server cursor is a set of T-SQL logic to loop over a predetermined number of rows one at a time. The purpose for the cursor may be to update one row at a time or perform an administrative process such as SQL Server database backups in a sequential manner.