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 --file to `sqlcmd open ads`, e.g. sqlcmd open ads https://aka.ms/AdventureWorks.sql #309

Open stuartpa opened 1 year ago

stuartpa commented 1 year ago

After doing sqlcmd create --using https://aka.ms/AdventureWorks.bak, it would be nice to bring up ADS with a .sql file that enables students/lab attendees to start exploring the database, enable:

sqlcmd open ads https://aka.ms/AdventureWorks.sql