I am converting my classic asp to .Net using parameterized queries. My problem is that in my classic apps I would replace the apostrophe with the ascii equivelent '
Now I would like to replace that value in the database with a real apostrophe. I am not sure how the syntax should be to do this. I can find the '
but I am not sure how to replace. The following is the simple update I am trying to run that errors out.
update tblCustomer set
Name = replace(Name, '''
, ''')