1. Remove or change the data type of any columns in the database that have the opaque data type as their data type.
2. The REVOKE statement with the USAGE ON TYPE clause removes one set of privileges assigned to the opaque data type.
3. The REVOKE statement with the EXECUTE ON FUNCTION or EXECUTE ON ROUTINE clause removes the privileges assigned to a support function of the opaque data type.
4. The DROP CAST statement drops a casting function for a support function of an opaque data type.
5. The DROP FUNCTION or DROP ROUTINE statement removes a support function of the opaque data type from the current database.
6. The DROP TYPE statement removes the opaque data type from the current database.