Purpose
You can use this statement to drop a created database link (or 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 DBLink, 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 DBLink to be dropped.
Examples
obclient> DROP DATABASE LINK IF EXISTS ob_dblink;
Query OK, 1 row affected