SHOW SHARDING TABLE RULE
Syntax
- When
databaseName
is not specified, the default is the currently usedDATABASE
. IfDATABASE
is not used, will be prompted.
Return value description
- Query the sharding table rules of the specified logical database
- Query the sharding table rules of the current logic database
SHOW SHARDING TABLE RULES;
- Query the specified sharding table rule
SHOW SHARDING TABLE RULE t_order;