The DROP READWRITE_SPLITTING RULE syntax is used to drop readwrite-splitting rules from the current database.
DropReadwriteSplittingRule ::=
'DROP' 'READWRITE_SPLITTING' 'RULE' ifExists? ruleName (',' ruleName)*
ifExists ::=
'IF' 'EXISTS'
ruleName ::=
identifier
ifExists clause is used to avoid Readwrite-splitting rule not exists error.DROP READWRITE_SPLITTING RULE ms_group_1;
DROP READWRITE_SPLITTING RULE ms_group_1, ms_group_2;
ifExists clauseDROP READWRITE_SPLITTING RULE IF EXISTS ms_group_1;
DROP, READWRITE_SPLITTING, RULE, IF, EXISTS
