Tuesday, October 31, 2023

Swap a SQL script with commas on the left to the right side

Commas to the left or to the right?

It's a SQL debate for the ages and both sides have terrific arguments.

In case you find yourself needing to change a SQL script with commas on the left here is a quick little Notepad++ regex to do so:

 /\n|\s{2,},

 and simply replace with ,\r\n

No comments:

Post a Comment