Closed jarnoj closed 2 years ago
This is controlled by the following regex, which only accounts for .
and -
:
https://github.com/dataplat/dbops/blob/development/internal/functions/Resolve-VariableToken.ps1#L27
Should be a simple fix.
Fixed in 0.7.1
Here is example that uses variable substitution (same SQL script also attached below). It inserts a new row where the First_Name variable does not get substituted (but LastName variable works ok):
SQLQuery1.zip
Related PowerShell commands (tested with v0.7.0 dbops module):