Accès aux identifiants
Reads database passwords, connection strings, tokens, and environment credentials.
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de sqlcmd pour les workflows d'agents IA.
sécurité des agents
sqlcmd sends SQL to Microsoft SQL Server and Azure SQL targets.
Reads database passwords, connection strings, tokens, and environment credentials.
Can create, alter, drop, import, and export database state.
Can dump or load data artifacts containing sensitive records.
Gate write SQL, dumps, imports, and credential-bearing connection strings.
Allow safe metadata queries; require approval for writes, exports, and secret use.
installation
brew install sqlcmdlocal Homebrew formula metadata
nix profile install nixpkgs#sqlcmdnixpkgs package indexes · pkgs/by-name/sq/sqlcmd/package.nix · Source: api.github.com
choco install sqlcmdChocolatey community package catalog · sqlcmd · Source: community.chocolatey.org
winget install --id Microsoft.Sqlcmd -eWindows Package Manager source index · Microsoft.Sqlcmd · Source: cdn.winget.microsoft.com
aperçu
Microsoft SQL Server command-line interface
historique
sqlcmd is Microsoft's command-line interface for SQL Server and Azure SQL. The Homebrew formula tracks the newer Go implementation, go-sqlcmd, which preserves much of the long-running ODBC sqlcmd workflow while adding modern package-manager distribution and container-oriented commands.
Microsoft's go-sqlcmd repository was created in 2021, and its README says the project aims to be a complete Go port of the original ODBC sqlcmd using the go-mssqldb driver.
The first preview releases appeared in 2021. The README documents both backward-compatible ODBC-style flags and newer POSIX-style flags, plus additions such as local SQL Server container creation and context management.
The Go version is explicitly packaged for major platforms: the README lists Winget, Chocolatey, Homebrew, Linuxbrew, apt, yum, zypper, and release artifacts. The input package metadata lists Homebrew, Chocolatey, Nix, and Winget identifiers.
Common usage includes running queries against SQL Server or Azure SQL, piping SQL into the CLI for scripts, creating local SQL Server containers with sqlcmd create mssql, and switching saved connection contexts stored under ~/.sqlcmd/sqlconfig.
Package nerds care about go-sqlcmd because it turns a historically vendor-installed database utility into a cross-platform package-manager CLI, bridging Windows SQL Server habits with Homebrew, Winget, Chocolatey, Linux packaging, and container-first local development.
posture de sécurité
broad file, network, media, or database tool signal.
risque blue · confiance moyen · tool
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.sqlcmd/sqlconfigCredential-bearing paths to review before unattended agent runs.
~/.sqlcmd/sqlconfigexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
sqlcmd | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/microsoft/go-sqlcmd
métadonnées d'installation
| Clé du paquet | brew:sqlcmd |
|---|---|
| Version | 1.10.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/sqlcmd |
| Page d'accueil | https://github.com/microsoft/go-sqlcmd |
| Dépôt | https://github.com/microsoft/go-sqlcmd |
| Docs amont | https://github.com/microsoft/go-sqlcmd#readme |
| Licence | MIT |
| Archive source | https://github.com/microsoft/go-sqlcmd/archive/refs/tags/v1.10.0.tar.gz |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sqlcmd |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
sqlcmd
nix profile install nixpkgs#sqlcmdsqlcmd
choco install sqlcmdMicrosoft.Sqlcmd
winget install --id Microsoft.Sqlcmd -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.