DROP DB_DISCOVERY RULE
Description
The DROP DB_DISCOVERY RULE
syntax is used to drop database discovery rule for specified database
Syntax
DropDatabaseDiscoveryRule ::=
'DROP' 'DB_DISCOVERY' 'RULE' dbDiscoveryRuleName (',' dbDiscoveryRuleName)* ('FROM' databaseName)?
dbDiscoveryRuleName ::=
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.
Example
- Drop mutiple database discovery rule for specified database
DROP DB_DISCOVERY RULE group_0, group_1 FROM test1;
- Drop single database discovery rule for current database
DROP DB_DISCOVERY RULE group_0;
Reserved word
DROP
, DB_DISCOVERY
, RULE
, FROM
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .