The DROP SHADOW ALGORITHM syntax is used to drop shadow algorithms from the current database.
DropShadowAlgorithm ::=
'DROP' 'SHADOW' 'ALGORITHM' ifExists? algorithmName (',' algorithmName)*
ifExists ::=
'IF' 'EXISTS'
algorithmName ::=
identifier
ifExists clause is used to avoid shadow algorithm not exists error.DROP SHADOW ALGORITHM shadow_rule_t_order_sql_hint_0, shadow_rule_t_order_item_sql_hint_0;
DROP SHADOW ALGORITHM shadow_rule_t_order_sql_hint_0;
ifExists clauseDROP SHADOW ALGORITHM IF EXISTS shadow_rule_t_order_sql_hint_0;
DROP, SHADOW, ALGORITHM, IF, EXISTS
