RaigorJiang commented on a change in pull request #13623:
URL: https://github.com/apache/shardingsphere/pull/13623#discussion_r749368638
##########
File path:
docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rdl-single-table.cn.md
##########
@@ -0,0 +1,31 @@
++++
+title = "单表"
+weight = 7
++++
+
+## 定义
+
+```sql
+CREATE DEFAULT SINGLE TABLE RULE singleTableRuleDefinition
+
+ALTER DEFAULT SINGLE TABLE RULE singleTableRuleDefinition
+
+DROP DEFAULT SINGLE TABLE RULE
+
+singleTableRuleDefinition:
+ RESOURCE = resourceName
+```
+- `RESOURCES` 需使用 RDL 管理的数据源资源
+
+
+## 示例
+
+### Single Table Rule
+
+```sql
+CREATE SINGLE TABLE RULE RESOURCE = ds_0
+
+ALTER SINGLE TABLE RULE RESOURCE = ds_1
+
+DROP SINGLE TABLE RULE RESOURCE
Review comment:
Wrong examples.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]