[TD-5828] <docs>: "IF NOT EXISTS" is independent for each table name.

This commit is contained in:
Elias Soong 2021-08-08 14:31:13 +08:00
parent e8df907cf6
commit 3e1c7ffe48
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ TDengine 缺省的时间戳是毫秒精度,但通过在 CREATE DATABASE 时传
- **批量创建数据表** - **批量创建数据表**
```mysql ```mysql
CREATE TABLE [IF NOT EXISTS] tb_name1 USING stb_name TAGS (tag_value1, ...) tb_name2 USING stb_name TAGS (tag_value2, ...) ...; CREATE TABLE [IF NOT EXISTS] tb_name1 USING stb_name TAGS (tag_value1, ...) [IF NOT EXISTS] tb_name2 USING stb_name TAGS (tag_value2, ...) ...;
``` ```
以更快的速度批量创建大量数据表(服务器端 2.0.14 及以上版本)。 以更快的速度批量创建大量数据表(服务器端 2.0.14 及以上版本)。

View File

@ -165,7 +165,7 @@ Note:
- **Create tables in batches** - **Create tables in batches**
```mysql ```mysql
CREATE TABLE [IF NOT EXISTS] tb_name1 USING stb_name TAGS (tag_value1, ...) tb_name2 USING stb_name TAGS (tag_value2, ...) ...; CREATE TABLE [IF NOT EXISTS] tb_name1 USING stb_name TAGS (tag_value1, ...) [IF NOT EXISTS] tb_name2 USING stb_name TAGS (tag_value2, ...) ...;
``` ```
Create a large number of data tables in batches faster. (Server side 2.0. 14 and above) Create a large number of data tables in batches faster. (Server side 2.0. 14 and above)