|Oracle9i SQL Reference Release 1 (9.0.1) Part Number A90125-01
CREATE TYPE to DROP ROLLBACK SEGMENT, 2 of 26 TYPE statement to
create the specification of an object type, a SQLJ object type
(which is a kind of object type), a named varying array
(varray), a nested table type, or an incomplete object type. You
create object types with the TYPE and the BODY statements. The
TYPE statement specifies the name of the object type, its
attributes, methods, and other properties. The BODY statement
contains the code for the methods in the type. Oracle implicitly
defines a constructor method for each user-defined type that you
create. A constructor is a system-supplied procedure that is
used in SQL statements or in PL/SQL code to construct an
instance of the type value. The name of the constructor method
is the same as the name of the user-defined type. The parameters
of the object type constructor method are the data attributes of
the object type. They occur in the same order as the attribute
definition order for the