Sample rows
sample_rowsReturn the first N rows of a table to inspect its content. Quickly view sample data without writing SQL queries.
Instructions
Return the first N rows of a table (default 5, maximum 50) to inspect its content. Accepts "Table" or "schema.Table". Subject to the table allowlist if configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of rows to return (1-50, default 5) | |
| table | Yes | Table name, optionally schema-qualified, e.g. "dbo.Orders" |