We are using SQL 2000 and with Apex
I am currently using a replace on my company name field to take out commas, ampersands etc. Problem is I need to take out aprostrophes too, but I think Apex or SQL won't recognize the double quotes as valid. So the following does not work
Replace(CompanyName,"'","''")
my replace using the following does work
Replace(CompanyName,',',' ') Giving me a space where I had a comma in the name. How could I remove an apostrophe if it will not recognize the doublequote? I'm just cleaning up enduser output and NOT changing the table data. The table data is fine with the apostrophe it's just specialized output.
Thanks
Cindy
I am currently using a replace on my company name field to take out commas, ampersands etc. Problem is I need to take out aprostrophes too, but I think Apex or SQL won't recognize the double quotes as valid. So the following does not work
Replace(CompanyName,"'","''")
my replace using the following does work
Replace(CompanyName,',',' ') Giving me a space where I had a comma in the name. How could I remove an apostrophe if it will not recognize the doublequote? I'm just cleaning up enduser output and NOT changing the table data. The table data is fine with the apostrophe it's just specialized output.
Thanks
Cindy