Open
Description
The sqlcmd create
command makes it much easier to share a local environment with others using a single command-line that runs on every common OS (Windows/Mac/Linux).
To also enable sharing of a "repro" script in the same single command-line add --open ads --file https://aka.ms/repro.sql" to sqlcmd create
e.g.:
sqlcmd create mssql --using https://aka.ms/AdventureWorksLT.bak --open ads --file https://tiny.url/my-repro.sql
This command would not "execute" any SQL. It would load the my-repro.sql in an ADS query windows, and connect to the SQL Server just started in a local container.