DROP DB_DISCOVERY TYPE

Description

The DROP DB_DISCOVERY TYPE syntax is used to drop database discovery type for specified database

Syntax

  1. DropDatabaseDiscoveryType ::=
  2. 'DROP' 'DB_DISCOVERY' 'TYPE' dbDiscoveryTypeName (',' dbDiscoveryTypeName)* ('FROM' databaseName)?
  3. dbDiscoveryTypeName ::=
  4. identifier
  5. databaseName ::=
  6. 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.

  • dbDiscoveryTypeName obtain through SHOW DB_DISCOVERY TYPE syntax query.

Example

  • Drop mutiple database discovery type for specified database
  1. DROP DB_DISCOVERY TYPE group_0_mysql_mgr, group_1_mysql_mgr FROM test1;
  • Drop single database discovery type for current database
  1. DROP DB_DISCOVERY TYPE group_0_mysql_mgr, group_1_mysql_mgr;

Reserved word

DROP, DB_DISCOVERY, TYPE, FROM