Register an opaque type in a database

Use the CREATE OPAQUE TYPE statement to register an opaque data type in a database.

For more information, see Determine internal representation. You can assign privileges to the opaque type with the GRANT USAGE ON TYPE statement. Type privileges for user-defined types (including opaque types) are stored in the sysxtdtypeauth system catalog table. By default, Usage privilege is granted to the person who registered the user-defined type. For more information about the syntax of the GRANT statement, see the Informix® Guide to SQL: Syntax.