How can I use the REPLACE command on the SQL server to replace all the apostrophes with double apostrophes. For example I take a field called description which has a lots of "'"s.
UPDATE tblImport
SET [CSR DESCRIPTION] = REPLACE([CSR DESCRIPTION], "'", "''"
is the above syntax correct? It is not accepting the double quotes. Can anybody give me the equivalent one.
thanks.
UPDATE tblImport
SET [CSR DESCRIPTION] = REPLACE([CSR DESCRIPTION], "'", "''"

is the above syntax correct? It is not accepting the double quotes. Can anybody give me the equivalent one.
thanks.