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

sqlcmd can be run in off-line mode (great for presentations/conferences etc.), document steps in the --help #291

Open stuartpa opened 1 year ago

stuartpa commented 1 year ago

Folks are interested in using sqlcmd for presentations/conferences. Sometime wi-fi in these environments can be flaky etc which could cause default workflow to fail, or take longer (e.g. sqlcmd create mssql will check with mcr.microsoft.com if latest has changed each time. Worse, if it has changed it will pull down latest, causing a delay in the demo).

There is a "--cached" flag (on sqlcmd create). Document how to set this with an environment variable (so demo doesn't have to change with the actual --cached flag). Verify the whole experience can run completely offline without a working wifi connection.