列出达梦中的表
dm_list_tablesLists tables in a DM8 schema by name keyword, returning row counts, tablespace, and comments. Use it to discover which tables exist or locate tables related to a topic.
Instructions
按模式名和表名关键字列出达梦 DM8 中的表,附带行数统计、所在表空间和表注释。用于"这个库里有哪些表""我要找订单相关的表"这类探索。注意 NUM_ROWS 来自统计信息,本库多数表未收集统计信息因而为 NULL;需要准确行数请用 dm_table_count 做精确 COUNT。标识符不区分大小写,传 order 或 ORDER 都可以。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回行数,默认 50 | |
| owner | No | 模式名(schema),例如 HR、SALES。不传则列出当前用户可访问的全部模式下的表 | |
| offset | No | 跳过的行数,用于翻页 | |
| pattern | No | 表名模糊匹配关键字,不区分大小写,例如 ORDER 会匹配 data_order_main | |
| response_format | No | 输出格式 | markdown |