2017年5月3日 星期三

SQL Server顯示執行的sql指令在哪一筆失敗

Get line number in file following TSQL error message
http://stackoverflow.com/questions/27785390/get-line-number-in-file-following-tsql-error-message


Invoke-SqlcmdEx
https://github.com/mnaoumov/Invoke-SqlcmdEx

Invoke-SqlcmdEx(Use LINENO approach)
https://github.com/mnaoumov/Invoke-SqlcmdEx/blob/LINENO/Invoke-SqlcmdEx.ps1

沒有留言:

張貼留言