DROP DB_DISCOVERY RULE

Description

The DROP DB_DISCOVERY RULE syntax is used to drop database discovery rule for specified database

Syntax

  1. DropDatabaseDiscoveryRule ::=
  2. 'DROP' 'DB_DISCOVERY' 'RULE' dbDiscoveryRuleName (',' dbDiscoveryRuleName)* ('FROM' databaseName)?
  3. dbDiscoveryRuleName ::=
  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.

Example

  • Drop mutiple database discovery rule for specified database
  1. DROP DB_DISCOVERY RULE group_0, group_1 FROM test1;
  • Drop single database discovery rule for current database
  1. DROP DB_DISCOVERY RULE group_0;

Reserved word

DROP, DB_DISCOVERY, RULE, FROM