The below query is replacing " from column Col001 from StageTable
I want to do it for entire table or u can say From column Col001 to column Col070
Is there any method to repeat this on all columns ?
while @@rowcount > 0
update StageTable
set Col001 = replace(Col001, substring(Col001, patindex('%["]%', Col001), 1), '')
where patindex('%["]%', Col001) <> 0