Quantcast
Channel: Powershell only executes first sql statement in the sql file
Browsing all 3 articles
Browse latest View live

Powershell only executes first sql statement in the sql file

akau1902 -- Microsoft has recently moved the user forums for Windows Server, Azure, and SQL Server to Microsoft Q&A.  Therefore, please post your questions about these applications in the relevant...

View Article



Powershell only executes first sql statement in the sql file

See my answer on the same question at https://techcommunity.microsoft.com/t5/sql-server/powershell-only-executes-first-sql-statement-in-the-sql-file/m-p/1965005Olaf Helper [ Blog] [ Xing] [ MVP]

View Article

Powershell only executes first sql statement in the sql file

Hello Everyone,  I am trying execute two simple SELECT statements placed in a sql file and then trying to execute the sql file via powershell and dumping the results in a text file using the below...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images