REWIND | Teradata Vantage - REWIND - 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ā„¢

Positions or repositions a cursor to the beginning of the results of its first or only statement.

ANSI Compliance

REWIND is a Teradata extension to the ANSI/ISO SQL:2011 standard.

Required Privileges

None.

Invocation

Executable.

Embedded SQL only.

Syntax

REWIND cursor_name

Syntax Elements

cursor_name
The name of an open cursor other than an Insertion cursor.

Usage Notes

The statement REWIND cursor_name is equivalent to the statement POSITION cursor_name TO STATEMENT 1.

Related Information

POSITION.