13.19 Datatype Attribute
The data type attribute of an ADT element.
A datatype
allows you to declare the data type of record variables fields, constants, functions return value, collection variables and collection types elements.
Topics
Syntax
datatype ::=
Semantics
datatype
collection_type
Name of a user-defined varray or nested table type (not the name of an associative array type).
object_type
Instance of a user-defined type.
record_type
Name of a user-defined type that was defined with the data type specifier RECORD
.
ref_cursor_type
Name of a user-defined type that was defined with the data type specifier REF
CURSOR
.
scalar_datatype
Name of a scalar data type, including any qualifiers for size, precision, and character or byte semantics.