If I have a query like this:
Select * from customers where partnerID in (1239
2324
323
4435
524
653
778
....)
Is there any shortcut to add commas between the numbers when "space" is used to separate them? I usually use Excel for this to merge the partnerID with "," and then past it back into SQL. I know there is a find and replace function but I don't know how to find the spaces?
I want:
Select * from customers where partnerID in (1239,
2324,
323,
4435,
524,
653,
778,
....)