dmaloo
dmaloo
Hi Benjin, just generate method of generator object..as below $generator = [Microsoft.SqlServer.TransactSql.ScriptDom.Sql150ScriptGenerator]::New(); $generate = [Microsoft.SqlServer.TransactSql.ScriptDom.Sql150ScriptGenerator]($generator) $parser = [Microsoft.SqlServer.TransactSql.ScriptDom.TSql150Parser]($true)::New(); if($parser -eq $null){ throw 'ScriptDOM not installed or not accessible' } $parseerrors...
That's correct, was only using it to format some existing code and regenerate.
Would really appreciate if this issue was fixed, it will help greatly with using scriptdom to fix code issues. thank you.
Erin, we use stored procedures that generate dynamic sql. A LOT. Many times we have to test the sql generated and returning results to text is the best way for...
Would really appreciate if this issue was fixed, it will help greatly with using scriptdom to fix code issues. thank you.