采样查看表数据
dm_table_sampleSample rows from a table to preview its data without writing SELECT statements. Handles identifier casing and quotes, returning Markdown or JSON.
Instructions
从指定表取几行样本数据,省去手写 SELECT 的步骤,也不用处理标识符大小写和引号。想快速了解一张表里"数据长什么样"时用这个;需要条件过滤或聚合请用 dm_query。默认只取 5 行,避免把上下文打满。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 采样行数,默认 5 | |
| owner | No | 模式名,table 未带前缀时使用 | |
| table | Yes | 表名,支持 "TABLE" 或 "SCHEMA.TABLE",不区分大小写 | |
| offset | No | 跳过的行数 | |
| response_format | No | 输出格式 | markdown |