File tree Expand file tree Collapse file tree 4 files changed +62
-0
lines changed
cn/sql-reference/10-sql-commands/00-ddl/17-dictionary
en/sql-reference/10-sql-commands/00-ddl/17-dictionary Expand file tree Collapse file tree 4 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : DROP DICTIONARY
3+ sidebar_position : 2
4+ ---
5+
6+ 删除一个字典。
7+
8+ ## 语法
9+
10+ ``` sql
11+ DROP DICTIONARY [ IF EXISTS ] [ < catalog_name> . ][ < database_name> . ]< dictionary_name>
12+ ```
13+
14+ ## 参数
15+
16+ | 参数 | 说明 |
17+ | -----------| -------------|
18+ | ` IF EXISTS ` | 可选。如果字典不存在,则忽略错误。 |
19+ | ` <dictionary_name> ` | 字典名称。可以带上 catalog 和 database 限定。 |
20+
21+ ## 示例
22+
23+ ``` sql
24+ DROP DICTIONARY user_info;
25+ ```
26+
27+ ``` sql
28+ DROP DICTIONARY IF EXISTS default .user_info ;
29+ ```
Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ Dictionary 提供了一种基于键值对的方法,用于从各种外部数据
99| 命令 | 描述 |
1010| ---------| -------------|
1111| [ CREATE DICTIONARY] ( create-dictionary.md ) | 创建字典 |
12+ | [ DROP DICTIONARY] ( drop-dictionary.md ) | 删除字典 |
13+
Original file line number Diff line number Diff line change 1+ ---
2+ title : DROP DICTIONARY
3+ sidebar_position : 2
4+ ---
5+
6+ Deletes a dictionary.
7+
8+ ## Syntax
9+
10+ ``` sql
11+ DROP DICTIONARY [ IF EXISTS ] [ < catalog_name> . ][ < database_name> . ]< dictionary_name>
12+ ```
13+
14+ ## Parameters
15+
16+ | Parameter | Description |
17+ | -----------| -------------|
18+ | ` IF EXISTS ` | Optional. Suppresses the error if the dictionary does not exist. |
19+ | ` <dictionary_name> ` | The dictionary name. You can qualify it with catalog and database names. |
20+
21+ ## Examples
22+
23+ ``` sql
24+ DROP DICTIONARY user_info;
25+ ```
26+
27+ ``` sql
28+ DROP DICTIONARY IF EXISTS default .user_info ;
29+ ```
Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ Dictionary provides a key-value approach for reading data from various external
99| Command | Description |
1010| ---------| -------------|
1111| [ CREATE DICTIONARY] ( create-dictionary.md ) | Creates a dictionary |
12+ | [ DROP DICTIONARY] ( drop-dictionary.md ) | Deletes a dictionary |
13+
You can’t perform that action at this time.
0 commit comments