Sqlcmd

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

javimosch Updated 57 repo stars

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 commit 6fc246c572

Frequently asked questions

npx get-skill add javimosch/sqlcmd