For example, you have a long SQL file and you must run it in command line or in such tool or program. For this, you can use Ultra Edit or Notepad++ tool for convert it.
Ultra Edit:
Open file via Ultra Edit -> Press CTRL + R -> Input ^p and space character in related columns -> Click Start button -> Click Replace All button
Notepad++:
Open file via Notepad++ -> Select desired lines -> Press CTRL + J
That's it.
Ultra Edit:
Open file via Ultra Edit -> Press CTRL + R -> Input ^p and space character in related columns -> Click Start button -> Click Replace All button
Notepad++:
Open file via Notepad++ -> Select desired lines -> Press CTRL + J
That's it.