Skip to content

Commit

Permalink
Modify the Chinese in the document example; punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
W1y1r committed Feb 24, 2025
1 parent e4d4f9a commit 8409b63
Show file tree
Hide file tree
Showing 25 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CREATE DATABASE database1;
CREATE DATABASE IF NOT EXISTS database1;

// Sets TTL to 1 year.
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000)
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000);
```

### 1.2 Use a Database
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';


```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
Users can use authorization statements to grant permissions to other users. The syntax is as follows:

```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.3.0-2/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';


```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.3.0-2/User-Manual/Authority-Management.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
Users can use authorization statements to grant permissions to other users. The syntax is as follows:

```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.3.3/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';


```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.3.3/User-Manual/Authority-Management.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
Users can use authorization statements to grant permissions to other users. The syntax is as follows:

```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/dev-1.3/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';


```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/dev-1.3/User-Manual/Authority-Management.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
Users can use authorization statements to grant permissions to other users. The syntax is as follows:

```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CREATE DATABASE database1;
CREATE DATABASE IF NOT EXISTS database1;

// Sets TTL to 1 year.
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000)
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000);
```

### 1.2 Use a Database
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';


```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest/User-Manual/Authority-Management.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
Users can use authorization statements to grant permissions to other users. The syntax is as follows:

```sql
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CREATE DATABASE database1;
CREATE DATABASE IF NOT EXISTS database1;

// 创建一个名为 database1 的数据库,并将数据库的TTL时间设置为1年。
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000)
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000);
```

### 1.2 使用数据库
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ insert into table1("地区", "厂号", "设备号", "型号", "维修周期", Ti
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', 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', 5, 90.0, 1200.0);
```
#### 注意事项
Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/V1.3.0-2/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/V1.3.3/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/dev-1.3/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CREATE DATABASE database1;
CREATE DATABASE IF NOT EXISTS database1;

// 创建一个名为 database1 的数据库,并将数据库的TTL时间设置为1年。
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000)
CREATE DATABASE IF NOT EXISTS database1 with(TTL=31536000000);
```

### 1.2 使用数据库
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ insert into table1("地区", "厂号", "设备号", "型号", "维修周期", Ti
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', 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', 5, 90.0, 1200.0);
```
#### 注意事项
Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/latest/SQL-Manual/SQL-Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ eg: ALTER USER tempuser SET PASSWORD 'newpwd';
用户使用授权语句对赋予其他用户权限,语法如下:

```SQL
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION]
GRANT <PRIVILEGES> ON <PATHS> TO ROLE/USER <NAME> [WITH GRANT OPTION];
eg: GRANT READ ON root.** TO ROLE role1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.** TO USER user1;
eg: GRANT READ_DATA, WRITE_DATA ON root.t1.**,root.t2.** TO USER user1;
Expand Down

0 comments on commit 8409b63

Please sign in to comment.