About 76,000 results
Open links in new tab
  1. DECLARE CURSOR (Transact-SQL) - SQL Server | Microsoft Learn

    Sep 4, 2026 · Defines the attributes of a Transact-SQL server cursor, such as its scrolling behavior and the query used to build the …

  2. Cursors (SQL Server) - SQL Server | Microsoft Learn

    Jul 20, 2026 · Although the database API cursor models consider a forward-only cursor to be a distinct type of cursor, SQL Server …

  3. SQL Server Cursor Explained By Examples

    In this tutorial, you will learn how to use the SQL Server cursor to process a result set, one row at a time.

  4. SQL Cursor Explained: Essential Guide for Developers - SQL Server Tips

    Jul 22, 2026 · A SQL Server cursor is a set of T-SQL logic that loops over a predetermined number of rows one at a time. The …

  5. Cursor in SQL - GeeksforGeeks

    Aug 31, 2026 · SQL Cursors allow you to process query results one row at a time. Below is a step-by-step explanation of how to …

  6. What is the use of a cursor in SQL Server? - Stack Overflow

    Nov 19, 2010 · Cursor works with the rows of the result set sequentially - row by row. A cursor can be viewed as a pointer to one row …

  7. SQL Server cursor tutorial

    Jun 4, 2014 · This article provides an explanation for what SQL Server cursors can be used , as well as a basic example that you …

  8. Cursor Example - Brent Ozar Unlimited®

    In this 16-minute video, Doug Lane explains how to use a date table, which will help you work around cursors that loop through date …

  9. What Is a Cursor in SQL? SQL Cursor Example and Syntax

    Learn what a cursor in SQL is, how it works, when to use it, and how to write SQL Server cursor examples with DECLARE, OPEN, …

  10. Mastering Cursors In SQL Server - C# Corner

    Feb 6, 2018 · In SQL Server, a cursor is a database object that allows you to retrieve and manipulate rows from a result set one at a …