Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Friday, March 23, 2018

Getting query text from SSMS into a CSV with PowerShell

SQLServerCentral.com Articles
Getting query text from SSMS into a CSV with PowerShell

You have times where you need to copy/paste something out of SSMS' grid view results pane that has a carriage return in it. Trying to copy/paste that data into Excel can be a headache and cause you to waste precious time reformatting. This just offers a tidbit of PowerShell code to help.

No comments: