sample
Retrieve random rows from a table without scanning the entire table, using TABLESAMPLE for unbiased sampling even on large datasets.
Instructions
A few genuinely random rows from a table (TABLESAMPLE on big tables — no scan, no physically-adjacent LIMIT bias).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| table | Yes | ||
| profile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |