The DROP SHARDING ALGORITHM syntax is used to drop sharding algorithms from the current database.
DropShardingAlgorithm ::=
'DROP' 'SHARDING' 'ALGORITHM' ifExists? algorithmName (',' algorithmName)*
ifExists ::=
'IF' 'EXISTS'
algorithmName ::=
identifier
ifExists clause is used to avoid Sharding algorithm not exists error.DROP SHARDING ALGORITHM t_order_hash_mod;
DROP SHARDING ALGORITHM t_order_hash_mod, t_item_hash_mod;
ifExists clauseDROP SHARDING ALGORITHM IF EXISTS t_order_hash_mod;
DROP, SHARDING, ALGORITHM, IF, EXISTS
