The DROP SHARDING TABLE REFERENCE RULE syntax is used to drop specified sharding table reference rule.
DropShardingTableReferenceRule ::=
'DROP' 'SHARDING' 'TABLE' 'REFERENCE' 'RULE' ifExists? ruleName (',' ruleName)*
ifExists ::=
'IF' 'EXISTS'
ruleName ::=
identifier
ifExists clause is used for avoid Sharding reference rule not exists error.DROP SHARDING TABLE REFERENCE RULE ref_0;
DROP SHARDING TABLE REFERENCE RULE ref_0, ref_1;
ifExists clauseDROP SHARDING TABLE REFERENCE RULE IF EXISTS ref_0;
DROP, SHARDING, TABLE, REFERENCE, RULE
