Skip to content

Commit

Permalink
Update wording and format
Browse files Browse the repository at this point in the history
  • Loading branch information
lilin90 committed Aug 12, 2024
1 parent 6dc3d86 commit bc41ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sql-plan-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ CREATE [GLOBAL | SESSION] BINDING FROM HISTORY USING PLAN DIGEST StringLiteralOr

1.`Statement Summary Tables` 的记录中查找执行计划对应的 Plan Digest。

例如:
例如

```sql
CREATE TABLE t(id INT PRIMARY KEY , a INT, KEY(a));
Expand Down Expand Up @@ -337,7 +337,7 @@ explain SELECT * FROM t1,t2 WHERE t1.id = t2.id;

#### 根据 SQL Digest 删除绑定

除了可以根据 SQL 语句删除对应的绑定以外,也可以根据 SQL Digest 删除绑定。详细的说明和更多示例可以参考 [DROP [GLOBAL|SESSION] BINDING](/sql-statements/sql-statement-drop-binding.md) 页面
你既可以根据 SQL 语句删除对应的绑定,也可以根据 SQL Digest 删除绑定。详细说明和更多示例参见 [`DROP [GLOBAL|SESSION] BINDING`](/sql-statements/sql-statement-drop-binding.md)

```sql
DROP [GLOBAL | SESSION] BINDING FOR SQL DIGEST StringLiteralOrUserVariableList;
Expand Down
2 changes: 0 additions & 2 deletions sql-statements/sql-statement-create-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ StringLiteralOrUserVariable:
stringLiteral | UserVariable
```

****

## 示例

你可以根据 SQL 或历史执行计划创建绑定。
Expand Down

0 comments on commit bc41ff2

Please sign in to comment.