sample_data
Retrieve top 10 rows (customizable) from a specified table in MSSQL databases using a connection string or named connection for quick data sampling.
Instructions
Retrieve sample data from a table (top 10 rows by default)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionName | No | Named connection to use (e.g., 'production', 'staging') | |
| connectionString | No | SQL Server connection string (uses default if not provided) | |
| limit | No | Number of rows to return (default: 10, max: 100) | |
| schema | No | Schema name (default: dbo) | |
| tableName | Yes | Name of the table to sample |