Monday, June 8, 2009

Argument data type ntext is invalid for argument 1 of replace function.


update table_name set [content] = replace(cast([content]AS NVARCHAR(MAX)), '.pdf.pdf', '.pdf')

No comments: