Skip to content

Commit 9e338a4

Browse files
committed
docs: add show create catalog sql reference
1 parent 640f079 commit 9e338a4

8 files changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"label":"Catalog","position":9}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Catalog
3+
---
4+
| 命令 | 描述 |
5+
|---------|-------------|
6+
| [SHOW CREATE CATALOG](show-create-catalog.md) | 显示 catalog 定义信息 |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: SHOW CREATE CATALOG
3+
sidebar_position: 1
4+
---
5+
6+
显示 catalog 的定义信息。
7+
8+
## 语法
9+
10+
```sql
11+
SHOW CREATE CATALOG <catalog_name>
12+
```

docs/cn/sql-reference/10-sql-commands/00-ddl/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title: DDL(Data Definition Language)命令
88

99
| 组件 | 描述 |
1010
|-----------|-------------|
11+
| **[Catalog](09-catalog/index.md)** | 查看 catalog 定义 |
1112
| **[数据库](00-database/index.md)** | 创建、修改和删除数据库 |
1213
| **[](01-table/index.md)** | 创建、修改和管理表 |
1314
| **[表版本管理 (Table Versioning)](21-table-versioning/index.md)** | 创建命名快照标签用于时间回溯 |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"label":"Catalog","position":9}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Catalog
3+
---
4+
| Command | Description |
5+
|---------|-------------|
6+
| [SHOW CREATE CATALOG](show-create-catalog.md) | Shows catalog definition information |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: SHOW CREATE CATALOG
3+
sidebar_position: 1
4+
---
5+
6+
Shows catalog definition information.
7+
8+
## Syntax
9+
10+
```sql
11+
SHOW CREATE CATALOG <catalog_name>
12+
```

docs/en/sql-reference/10-sql-commands/00-ddl/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ These topics provide reference information for the DDL (Data Definition Language
88

99
| Component | Description |
1010
|-----------|-------------|
11+
| **[Catalog](09-catalog/index.md)** | Inspect catalog definitions |
1112
| **[Database](00-database/index.md)** | Create, alter, and drop databases |
1213
| **[Table](01-table/index.md)** | Create, alter, and manage tables |
1314
| **[Table Versioning](21-table-versioning/index.md)** | Create named snapshot tags for time travel |

0 commit comments

Comments
 (0)