DROP DB_DISCOVERY TYPE
Description
The DROP DB_DISCOVERY TYPE
syntax is used to drop database discovery type for specified database
Syntax
DropDatabaseDiscoveryType ::=
'DROP' 'DB_DISCOVERY' 'TYPE' dbDiscoveryTypeName (',' dbDiscoveryTypeName)* ('FROM' databaseName)?
dbDiscoveryTypeName ::=
identifier
databaseName ::=
identifier
Supplement
When
databaseName
is not specified, the default is the currently usedDATABASE
. IfDATABASE
is not used, No database selected will be prompted.dbDiscoveryTypeName
obtain through SHOW DB_DISCOVERY TYPE syntax query.
Example
- Drop mutiple database discovery type for specified database
DROP DB_DISCOVERY TYPE group_0_mysql_mgr, group_1_mysql_mgr FROM test1;
- Drop single database discovery type for current database
DROP DB_DISCOVERY TYPE group_0_mysql_mgr, group_1_mysql_mgr;
Reserved word
DROP
, DB_DISCOVERY
, TYPE
, FROM
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .