CREATE DEFAULT SINGLE TABLE RULE
Description
The CREATE DEFAULT SINGLE TABLE RULE
syntax is used to create a default single table rule.
Syntax
CreateDefaultSingleTableRule ::=
'CREATE' 'DEFAULT' 'SINGLE' 'TABLE' 'RULE' singleTableDefinition
singleTableDefinition ::=
'RESOURCE' '=' resourceName
resourceName ::=
identifier
Supplement
RESOURCE
needs to use data source resource managed by RDL.
Example
Create a default single table rule
CREATE DEFAULT SINGLE TABLE RULE RESOURCE = ds_0;
Reserved word
CREATE
, SHARDING
, SINGLE
, TABLE
, RULE
, RESOURCE
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .