The DROP READWRITE_SPLITTING RULE syntax is used to drop readwrite-splitting rule for specified database
DropReadwriteSplittingRule ::=
'DROP' 'READWRITE_SPLITTING' 'RULE' ifExists? ruleName (',' ruleName)* ('FROM' databaseName)?
ifExists ::=
'IF' 'EXISTS'
ruleName ::=
identifier
databaseName ::=
identifier
databaseName is not specified, the default is the currently used DATABASE. If DATABASE is not used, No database selected will be prompted;ifExists clause is used for avoid Readwrite-splitting rule not exists error.DROP READWRITE_SPLITTING RULE ms_group_1 FROM readwrite_splitting_db;
DROP READWRITE_SPLITTING RULE ms_group_1;
ifExists clauseDROP READWRITE_SPLITTING RULE IF EXISTS ms_group_1;
DROP, READWRITE_SPLITTING, RULE
