Oracle® Database PL/SQL Language Reference 11g Release 2 (11.2) E25519-09 |
|
|
PDF · Mobi · ePub |
The %ROWTYPE
attribute lets you declare a record that represents either a full or partial row of a database table or view. For every column of the full or partial row, the record has a field with the same name and data type. If the structure of the row changes, then the structure of the record changes accordingly.
The record fields do not inherit the constraints or initial values of the corresponding columns.
Name of an explicit cursor. For every column selected by the query associated with explicit_cursor_name
, the record has a field with the same name and data type.
Name of a strong cursor variable. For every column selected by the query associated with cursor_variable_name
, the record has a field with the same name and data type.
Name of a database table or view that is accessible when the declaration is elaborated. For every column of db_table_or_view_name
, the record has a field with the same name and data type.