Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ ALTER TABLE (IF EXISTS)? tableName=qualifiedName ADD COLUMN (IF NOT EXISTS)? col
**说明:**

1. `SET PROPERTIES`操作目前仅支持对表的 TTL 属性进行配置。
2. 删除列功能,仅支持删除属性列(ATTRIBUTE)和物理量列(FIELD),标识列(TAG)不支持删除。

**示例:**

Expand Down
10 changes: 5 additions & 5 deletions src/zh/UserGuide/Master/Table/Basic-Concept/Write-Updata-Data.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,21 +162,21 @@ insert into table1("地区", "厂号", "设备号", "型号", "维修周期", Ti
```SQL
insert into table1
values
('北京', '3001', '3', '1', '10', 4, 90.0, 1200.0)
('北京', '3001', '3', '1', '10', 5, 90.0, 1200.0)
('北京', '3001', '3', '1', '10', 4, 90.0, 1200.0),
('北京', '3001', '3', '1', '10', 5, 90.0, 1200.0)


insert into table1
("地区", "厂号", "设备号", Time, "温度", "排量")
values
('北京', '3001', '3', 4, 90.0, 1200.0)
('北京', '3001', '3', 5, 90.0, 1200.0)
('北京', '3001', '3', 4, 90.0, 1200.0),
('北京', '3001', '3', 5, 90.0, 1200.0)
```

#### 注意事项

- 如果在 SQL 语句中引用了表中不存在的列,IoTDB 将返回错误码 `COLUMN_NOT_EXIST(616)`。
- 如果写入的数据类型与表中列的数据类型不一致,将报错 `DATA_TYPE_MISMATCH(614)`。
- 如果写入的数据类型与表中列的数据类型不一致,将报错 `DATA_TYPE_MISMATCH(507)`。

## 2. 数据更新

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ ALTER TABLE (IF EXISTS)? tableName=qualifiedName ADD COLUMN (IF NOT EXISTS)? col
**说明:**

1. `SET PROPERTIES`操作目前仅支持对表的 TTL 属性进行配置。
2. 删除列功能,仅支持删除属性列(ATTRIBUTE)和物理量列(FIELD),标识列(TAG)不支持删除。

**示例:**

Expand Down
10 changes: 5 additions & 5 deletions src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Write-Updata-Data.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,21 +162,21 @@ insert into table1("地区", "厂号", "设备号", "型号", "维修周期", Ti
```SQL
insert into table1
values
('北京', '3001', '3', '1', '10', 4, 90.0, 1200.0)
('北京', '3001', '3', '1', '10', 5, 90.0, 1200.0)
('北京', '3001', '3', '1', '10', 4, 90.0, 1200.0),
('北京', '3001', '3', '1', '10', 5, 90.0, 1200.0)


insert into table1
("地区", "厂号", "设备号", Time, "温度", "排量")
values
('北京', '3001', '3', 4, 90.0, 1200.0)
('北京', '3001', '3', 5, 90.0, 1200.0)
('北京', '3001', '3', 4, 90.0, 1200.0),
('北京', '3001', '3', 5, 90.0, 1200.0)
```

#### 注意事项

- 如果在 SQL 语句中引用了表中不存在的列,IoTDB 将返回错误码 `COLUMN_NOT_EXIST(616)`。
- 如果写入的数据类型与表中列的数据类型不一致,将报错 `DATA_TYPE_MISMATCH(614)`。
- 如果写入的数据类型与表中列的数据类型不一致,将报错 `DATA_TYPE_MISMATCH(507)`。

## 2. 数据更新

Expand Down
Loading