Skip to content

sqlcmd create add "--open ads --file https://aka.ms/my-repro.sql"  #310

Open
@stuartpa

Description

@stuartpa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ADSAzure Data StudioenhancementNew feature or requestsqlcmd switchswitch in existing sqlcmd

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions