Our company uses an old application that reads TSQL from an INF file. Due to the way the application processes the INI file, TSQL must be on the same line. I use the Blans Mans TSQL Formatter so that everything is nice and neat for things like SP, but I wonder if there is anything there to do the opposite - take the beautifully formatted TSQL and drag it all onto one line (delete carriages, line breaks, etc.), I work in SSMS, but I also use Notepad ++ and I am happy to use some other editor if it has functionality.
source
share