Sqlcmd

Use this skill when the user wants to query Microsoft SQL Server from the command line.

javimosch 6fc246c 681 B Updated

File contents

sqlcmd Plugin

Microsoft SQL Server command-line query tool. Query and manage SQL Server, Azure SQL DB, and Azure Synapse.

Commands

Basic

  • sqlcmd _ _ — Passthrough to sqlcmd CLI

Usage Examples

  • "Query SQL Server using sqlcmd"
  • "Run a SQL script against Azure SQL Database"
  • "List all databases on the server"

Installation

npm install -g sqlcmd

Key Features

  • Run Transact-SQL queries
  • Connect to SQL Server, Azure SQL DB, Azure Synapse
  • Script execution and output formatting
  • Windows, macOS, and Linux support

javimosch/supercli/tree/main/plugins/sqlcmd/skills/quickstart commit 6fc246c572

Frequently asked questions

npx skillmds@latest add javimosch/sqlcmd