The DROP SHARDING TABLE RULE syntax is used to drop sharding table rules from the current database.
DropShardingTableRule ::=
'DROP' 'SHARDING' 'TABLE' 'RULE' ifExists? ruleName (',' ruleName)*
ifExists ::=
'IF' 'EXISTS'
ruleName ::=
identifier
ifExists clause is used to avoid Sharding rule not exists error.DROP SHARDING TABLE RULE t_order, t_order_item;
DROP SHARDING TABLE RULE t_order;
ifExists clauseDROP SHARDING TABLE RULE IF EXISTS t_order;
DROP, SHARDING, TABLE, RULE, IF, EXISTS
