If you aren't planning on moving to SQL Server 2005 soon (where you can use
(N)VARCHAR(MAX) types, which don't have the same limitations as (N)TEXT),
see this article I wrote a few years ago:
http://www.aspfaq.com/2445 [quoted text, click to view] "Cindy Mikeworth" <cindy@tas-in.com> wrote in message
news:ACA7C60A-CB96-46CE-A73C-28AA4C7879C9@microsoft.com...
>I need to perform a search and replace in a text field. I tried the
>REPLACE function, but am receiving the error that the data type text is an
>invalid for argument 1 of the replace function.
>
> Can this be accomplished with a transact SQL statement?
Thanks so much for your response!
Since I'm not really a programmer, the solution was a bit more complicated
than I had hoped. I ended up reassessing the situation, and re-imported my
data using two single quotes where there had been a double-quote.
Hello Cindy,
Nice to hear you find aother method to do this job.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================