Register the opaque data type with the database

After you create the internal structure and support functions for the opaque data type, use the following SQL statements to register them with the database:
  • The CREATE OPAQUE TYPE statement registers an opaque data type as a data type.
  • The CREATE FUNCTION statement registers a support function.
  • The CREATE CAST statement registers a support function as cast functions.