DROP SHADOW ALGORITHM
Description
The DROP SHADOW ALGORITHM syntax is used to drop shadow algorithms from the current database.
Syntax
DropShadowAlgorithm ::=
'DROP' 'SHADOW' 'ALGORITHM' ifExists? algorithmName (',' algorithmName)*
ifExists ::=
'IF' 'EXISTS'
algorithmName ::=
identifierSupplement
ifExistsclause is used to avoidshadow algorithm not existserror.
Example
- Drop multiple shadow algorithms
DROP SHADOW ALGORITHM shadow_rule_t_order_sql_hint_0, shadow_rule_t_order_item_sql_hint_0;- Drop a shadow algorithm
DROP SHADOW ALGORITHM shadow_rule_t_order_sql_hint_0;- Drop shadow algorithm with
ifExistsclause
DROP SHADOW ALGORITHM IF EXISTS shadow_rule_t_order_sql_hint_0;Reserved word
DROP, SHADOW, ALGORITHM, IF, EXISTS