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.