Skip to content

Commit d482754

Browse files
committed
add double quetes description about tablename
1 parent 483a256 commit d482754

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

src/UserGuide/Master/Table/Basic-Concept/Table-Management.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ comment
7070
2. Can include special characters such as `~!`"`%`, etc.
7171
3. Names with special or Chinese characters must be enclosed in double quotes (`""`).
7272
4. Outer double quotes are not retained in the final table name. For example: `"a""b"` becomes `a"b`.
73+
5. If a table name itself needs to include a double quotation mark ("), it must be represented by two double quotation marks ("").
7374
5. **`columnDefinition`**: Column names share the same characteristics as table names and can include special characters such as `.`.
7475
6. COMMENT adds comments to the table.
7576

src/UserGuide/latest-Table/Basic-Concept/Table-Management.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ comment
7070
2. Can include special characters such as `~!`"`%`, etc.
7171
3. Names with special or Chinese characters must be enclosed in double quotes (`""`).
7272
4. Outer double quotes are not retained in the final table name. For example: `"a""b"` becomes `a"b`.
73+
5. If a table name itself needs to include a double quotation mark ("), it must be represented by two double quotation marks ("").
7374
5. **`columnDefinition`**: Column names share the same characteristics as table names and can include special characters such as `.`.
7475
6. COMMENT adds comments to the table.
7576

src/zh/UserGuide/Master/Table/Basic-Concept/Table-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ comment
6969
- 大小写不敏感
7070
- 名称可包含特殊字符,如 `~!`"%` 等
7171
- 包含特殊字符如 or 中文字符的数据库名创建时必须用双引号 "" 括起来。
72-
- 当为表命名时,最外层的双引号(`""`)不会在实际创建的表名中出现。
72+
- 当为表命名时,最外层的双引号(`""`)不会在实际创建的表名中出现。若表名本身需要包含双引号("),则需用两个双引号("") 表示一个双引号。
7373
- ```SQL
7474
"a""b" --> a"b
7575
"""""" --> ""

src/zh/UserGuide/latest-Table/Basic-Concept/Table-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ comment
6969
- 大小写不敏感
7070
- 名称可包含特殊字符,如 `~!`"%` 等
7171
- 包含特殊字符如 or 中文字符的数据库名创建时必须用双引号 "" 括起来。
72-
- 当为表命名时,最外层的双引号(`""`)不会在实际创建的表名中出现。
72+
- 当为表命名时,最外层的双引号(`""`)不会在实际创建的表名中出现。若表名本身需要包含双引号("),则需用两个双引号("") 表示一个双引号。
7373
- ```SQL
7474
"a""b" --> a"b
7575
"""""" --> ""

0 commit comments

Comments
 (0)