For PP2-based application programs, creating UDTs is similar to creating other database objects. Specify the appropriate CREATE TYPE SQL statement, followed by CREATE METHOD, CREATE TRANSFORM, and CREATE ORDERING statements as needed to fully create the type.