Skip to content
Advertisement

SQL Server string parse?

I have vendor info from a string and I’m trying to Update #line to remove the comma (,) in between the two emails. Does anyone have a suggestion?

Desired Output: '1194125598,,191,3.95,194.95,Loan Payment,999999999,2779,"Melinda","Meeken",99999999,"m_welborn@yahoo.com smeeken@gmail.com",10/28/2020 11:13'

Advertisement

Answer

Assuming it’s just the two emails and one comma, try the following:

Returns

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement