DROP DB_DISCOVERY HEARTBEAT
Description
The DROP DB_DISCOVERY HEARTBEAT
syntax is used to drop database discovery heartbeat for specified database
Syntax
Grammar Railroad diagram
DropDatabaseDiscoveryHeartbeat ::=
'DROP' 'DB_DISCOVERY' 'HEARTBEAT' ifExists? dbDiscoveryHeartbeatName (',' dbDiscoveryHeartbeatName)* ('FROM' databaseName)?
ifExists ::=
'IF' 'EXISTS'
dbDiscoveryHeartbeatName ::=
identifier
databaseName ::=
identifier
Supplement
- When databaseName is not specified, the default is the currently used DATABASE. If DATABASE is not used, No database selected will be prompted;
ifExists
clause is used for avoidDatabase discovery heartbeat not exists
error.
Example
- Drop mutiple database discovery heartbeat for specified database
DROP DB_DISCOVERY HEARTBEAT group_0_heartbeat, group_1_heartbeat FROM discovery_db;
- Drop single database discovery heartbeat for current database
DROP DB_DISCOVERY HEARTBEAT group_0_heartbeat;
- Drop database discovery heartbeat with
ifExists
clause
DROP DB_DISCOVERY HEARTBEAT IF EXISTS group_0_heartbeat;
Reserved word
DROP
, DB_DISCOVERY
, HEARTBEAT
, FROM
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .