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.