You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to use environment variables in T-SQL Scripts, for example I could write
SELECT*FROM ${table}
and when executing the code, the ${table} will actually be replaced with the value set in the table environment variable.
Environment variables would be loaded from and .env file. If more than one .env file is present, I should be able to choose which .env file to use, and such value should be store in the .vscode folder so that I don't have to specify it every time I run the script
Ideally the support for environment variables substitution in T-SQL Script will be extended to SqlPackage.exe so that I can generate a deployment package using the .env file (or injecting environment variables using export or set)
The text was updated successfully, but these errors were encountered:
It would be great to be able to use environment variables in T-SQL Scripts, for example I could write
and when executing the code, the
${table}
will actually be replaced with the value set in thetable
environment variable.Environment variables would be loaded from and
.env
file. If more than one.env
file is present, I should be able to choose which.env
file to use, and such value should be store in the.vscode
folder so that I don't have to specify it every time I run the scriptIdeally the support for environment variables substitution in T-SQL Script will be extended to SqlPackage.exe so that I can generate a deployment package using the .env file (or injecting environment variables using
export
orset
)The text was updated successfully, but these errors were encountered: