Rules for FOR Cursors - Teradata Vantage - Analytics Database

SQL Stored Procedures and Embedded SQL

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-10-30
dita:mapPath
frc1628111662093.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
rjx1472253414573
lifecycle
latest
Product Category
Teradata Vantageā„¢
  • ABORT, COMMIT, and ROLLBACK statements are not permitted in an updatable cursor.

    An attempt to execute any of these statements returns a runtime error.

  • The cursor specification must not return the warning code 3999.
  • The cursor specification cannot contain a WITH ... BY clause.
  • If the cursor specification contains a UNION operator, the referenced correlation or column name must be the correlation or column names used in the first SQL SELECT statement.