Enable mapping of parameters/variables from a file #387
simonsabin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As an extension of #386 it would be nice if you could pass variables similar to a tfvars file in terraform to sqlcmd.
i.e. if I specify a JSON file or CSV file the values are mapped to the variables/parameters
given a json file of variables.json
Running
sqlcmd -F variables.json
would be equivalent of sqlcmd -v Somevar="a value" -v Anothervar="anothervariable"This avoid having to build complex command executions
Beta Was this translation helpful? Give feedback.
All reactions