Retro Eye care Haitian Deep Dark Default

DROP SHADOW RULE

Description

The DROP SHADOW RULE syntax is used to drop shadow rule for specified database

Syntax

DropShadowRule ::=
  'DROP' 'SHADOW' 'RULE' ifExists? ruleName ('FROM' databaseName)?

ifExists ::=
  'IF' 'EXISTS'

ruleName ::=
  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;
  • ifExists clause is used for avoid Shadow rule not exists error.

Example

  • Drop shadow rule for specified database
DROP SHADOW RULE shadow_rule FROM shadow_db;
  • Drop shadow rule for current database
DROP SHADOW RULE shadow_rule;
  • Drop shadow rule with ifExists clause
DROP SHADOW RULE IF EXISTS shadow_rule;

Reserved word

DROP, SHODOW, RULE, FROM