passing path to SqlCmd within powershell script

后端 未结 4 2117
面向向阳花
面向向阳花 2021-02-13 09:28

I\'m trying to write a powershell script which will execute sqlcmd.exe to run a sql script. The script contains a SQLCMD variable which I want to pass in on the command line via

4条回答
  •  情深已故
    2021-02-13 10:10

    You will find several options to this issue on the Workarounds tab on this issue filed on the Microsoft connect site. While you're there please vote it up.

提交回复
热议问题