REWIND | Teradata Vantage - REWIND - 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™

Purpose

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

Invocation

Executable.

Embedded SQL only.

Syntax

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

ANSI Compliance

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

Authorization

None.

Usage Notes

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

Related Topics

See POSITION.