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