X
  • Search
  • Products
  • Services
  • Resources
  • About
  • Contact
  • Login

Copyright © 2025 MariaDB. All rights reserved.

The Ultimate Guide to High Availability with MariaDB
Download Now
  • Knowledge Base
  • Contact
  • Login
  • Search
  • Products
  • Solutions
  • Resources
  • Company
  • Pricing
  • Download
Knowledge Base » MariaDB Server Documentation » Programming & Customizing MariaDB » Programmatic & Compound Statements » Cursors
  • Home
  • Open Questions
  • MariaDB Server
  • MariaDB MaxScale
  • MariaDB ColumnStore
  • Connectors
Ask a question here View 1 questions
Localized Versions
  • Cursori [it]
Product Versions

Cursors

A cursor is a structure that allows you to go over records sequentially, and perform processing based on the result.

  • Cursor Overview

    Structure for traversing and processing results sequentially.
  • DECLARE CURSOR

    Declares a cursor which can be used inside stored programs.
  • OPEN

    Open a previously declared cursor.
  • FETCH

    Fetch a row from a cursor.
  • CLOSE

    Close a previously opened cursor.
There are 1 related questions.
  • ← WHILE
  • ↑ Programmatic & Compound Statements ↑
  • Diagnostics →
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
  • ↑ Programmatic & Compound Statements ↑
  • Using Compound Statements Outside of Stored Programs
  • BEGIN END
  • CASE Statement
  • DECLARE CONDITION
  • DECLARE HANDLER
  • DECLARE Variable
  • FOR
  • GOTO
  • IF
  • ITERATE
  • Labels
  • LEAVE
  • LOOP
  • REPEAT LOOP
  • RESIGNAL
  • RETURN
  • SELECT INTO
  • SET Variable
  • SIGNAL
  • WHILE
  • Cursors
  • Diagnostics
  • Products
  • Solutions
  • Resources
  • Company
  • Pricing
  • Download MariaDB
Subscribe to our newsletter!
  • Legal
  • Privacy Policy
  • Cookie Policy

Copyright © 2025 MariaDB. All rights reserved.