Only to help you out our fellow coders :) .
SQl Query
;with cte as(select *,(select replace([Column_name],'Old_Value','New_Value')) as NewValueRezult from Table_Name)update cte set [Column_name] = cte.NewValueRezult
;with cte as(
select *,(select replace([Column_name],'Old_Value','New_Value')) as NewValueRezult from Table_Name
)
update cte set [Column_name] = cte.NewValueRezult
No comments:
Post a Comment