Avatar of CosmicKoder
CosmicKoder

asked on 

find and replace SQL query

I need to go thru a DB table find some text and replace it with new. How do i do this?

the column name is product_description
column data type is ntext

in the column i am looking for this length of text

The Dancing Paintbrush watermark will not be on the order you receive.

and i want to replace it with this

<br/><br/><em>The Dancing Paintbrush watermark will not be on the order you receive.</em>


so i am adding the returns and the italic tags

so of the columns have just that string of text and some others have that string but other text.

everything i have found online seems so complicated. Isnt there and easy way to do this?

Thanks!

Microsoft SQL Server

Avatar of undefined
Last Comment
Ryan Hennessey

8/22/2022 - Mon