I am trying to replace part of a text in a table with ntext data type.
When I run the following sql query
update products set info = replace(info, 'target="main"', '')
where info like '%target="main"%'
I get the error "Argument data type text is invalid for argument 1 of replace function."
What would the best way for me to replace this text?
Thanks.