What problem does it solve?
This Skill eliminates the need to write custom API code or use graphical tools to interact with Microsoft Fabric SQL workloads, enabling fast, scriptable access to data in Data Warehouses, Lakehouse SQL Endpoints, and Mirrored Databases directly from the command line.
Core Features & Use Cases
- Read-Only T-SQL Querying: Run ad-hoc SELECT queries, count rows, filter and aggregate data across all supported Fabric SQL endpoints.
- Schema and Metadata Discovery: Explore table schemas, columns, constraints, views, functions, and stored procedures to understand data structures without manual documentation.
- Data Export and Performance Monitoring: Export query results to CSV or JSON formats, investigate slow queries, and monitor active SQL workloads for performance issues.
- Use Case: A data analyst can use this Skill to quickly count rows in a lakehouse table, discover its column schema, and export filtered sales data to CSV for downstream reporting, all without leaving the CLI.
Quick Start
Use the sqldw-consumption-cli skill to count the number of rows in the 'Sales' table in your Fabric lakehouse and export the top 100 rows to a CSV file named sales_export.csv.