UPDATE a
SET a new column=STUFF (b.N ewCol, 1, 1, ' ')
The FROM information AS a
CROSS the APPLY (SELECT the ', '+ parts the FROM keyword WHERE a. descriptions LIKE' % '+ +' % 'parts FOR XML PATH ('') AS b (NewCol)
CodePudding user response:
UPDATE a
SET a new column=STUFF (b.N ewCol, 1, 1, ' ')
The FROM information AS a
CROSS the APPLY (SELECT the ', '+ parts the FROM keyword WHERE a. descriptions LIKE' % '+ +' % 'parts FOR XML PATH ('') AS b (NewCol)
CodePudding user response: