When a catalog is no longer in use, you can drop it by using the DROP CATALOG external_catalog_name; statement.
Notice
Unlike MySQL-compatible mode, the DROP CATALOG statement in Oracle-compatible mode does not support the IF EXISTS clause. If the catalog to be dropped does not exist, an error with code -11080 will be returned.
After a catalog is dropped, other users' USE CATALOG object privileges on that catalog are also revoked.
Privilege requirements
To drop an external catalog, the current user must have the CREATE CATALOG system privilege.
For more information about OceanBase Database privileges, see Privilege types in Oracle-compatible mode.
Examples
obclient> CREATE EXTERNAL CATALOG tmp_catalog PROPERTIES = (TYPE = 'JDBC', URL = 'jdbc:sqlserver://10.10.10.1:1433');
obclient> DROP CATALOG tmp_catalog;