fix docs (#4801)
This commit is contained in:
@ -42,7 +42,7 @@ Replace table `tbl1` with table `tbl2`.
|
||||
|
||||
If the `swap` parameter is `true`, after replacement, the data in the table named `tbl1` is the data in the original `tbl2` table. The data in the table named `tbl2` is the data in the original table `tbl1`. That is, the data of the two tables are interchanged.
|
||||
|
||||
If the `swap` parameter is `true`, after replacement, the data in the table named `tbl1` is the data in the original `tbl2` table. The table named `tbl2` is dropped.
|
||||
If the `swap` parameter is `false`, after replacement, the data in the table named `tbl1` is the data in the original `tbl2` table. The table named `tbl2` is dropped.
|
||||
|
||||
## Principle
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ ALTER TABLE [db.]tbl1 REPLACE WITH tbl2
|
||||
|
||||
如果 `swap` 参数为 `true`,则替换后,名称为 `tbl1` 表中的数据为原 `tbl2` 表中的数据。而名称为 `tbl2` 表中的数据为原 `tbl1` 表中的数据。即两张表数据发生了互换。
|
||||
|
||||
如果 `swap` 参数为 `true`,则替换后,名称为 `tbl1` 表中的数据为原 `tbl2` 表中的数据。而名称为 `tbl2` 表被删除。
|
||||
如果 `swap` 参数为 `false`,则替换后,名称为 `tbl1` 表中的数据为原 `tbl2` 表中的数据。而名称为 `tbl2` 表被删除。
|
||||
|
||||
|
||||
## 原理
|
||||
|
||||
Reference in New Issue
Block a user