Types of Cursors - Advanced SQL Engine - Teradata Database

SQL Stored Procedures and Embedded SQL

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
xqq1557098602407.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1148
lifecycle
previous
Product Category
Teradata Vantage™

You can declare the following types of cursors in a DECLARE CURSOR statement:

  • Dynamic
  • Macro
  • Request
  • Selection
  • Stored procedure
    Stored procedures only support stored procedure-type cursors.

The following types refer to ways you can use a cursor to manipulate data:

  • Positioned (updatable)
  • Non-positioned (read only)

Both types are supported in embedded SQL and stored procedures.