microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
334 stars 58 forks source link

Add --database option to the connection-string command #277

Closed yorek closed 1 year ago

yorek commented 1 year ago

Right now the connection strings are always generated for the master database. Would be great to have an option --database or -d to have the connection strings created with the specified database name

stuartpa commented 1 year ago

Draft PR #280