The DROP DB_DISCOVERY RULE
syntax is used to drop database discovery rule for specified database
DropDatabaseDiscoveryRule ::=
'DROP' 'DB_DISCOVERY' 'RULE' ifExists? dbDiscoveryRuleName (',' dbDiscoveryRuleName)* ('FROM' databaseName)?
ifExists ::=
'IF' 'EXISTS'
dbDiscoveryRuleName ::=
identifier
databaseName ::=
identifier
ifExists
clause is used for avoid Database discovery rule not exists
error.DROP DB_DISCOVERY RULE group_0, group_1 FROM discovery_db;
DROP DB_DISCOVERY RULE group_0;
ifExists
clauseDROP DB_DISCOVERY RULE IF EXISTS group_0;
DROP
, DB_DISCOVERY
, RULE
, FROM