execute_sql
Run SQL queries on Dameng database with enforced schema limits. Supports conditional row fetching and pagination via limit and offset.
Instructions
执行 SQL 语句(强制限定配置下的SCHEMA操作)
参数: sql: 要执行的 SQL 语句 fetch_results: 是否返回查询结果(默认 True) limit: 限制返回的行数,用于分页(可选) offset: 跳过的行数,用于分页(可选)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No | ||
| offset | No | ||
| fetch_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |