Purpose
This statement is used to drop a database link (i.e., dblink).
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support the dblink feature.
Note
To drop a database link, you must have the DROP DATABASE LINK system privilege.
Syntax
DROP DATABASE LINK [IF EXISTS] dblink_name;
Parameters
dblink_name specifies the name of the database link to be dropped.
Examples
obclient> DROP DATABASE LINK IF EXISTS ob_dblink;
Query OK, 1 row affected