Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

URGENT update a table with a text that has a single quote in it

571345Apr 8 2007 — edited Apr 8 2007
Hello, I am trying to update a table with a text that has a single quote in it. I believe I need to use two singles quotes but I am not sure how.

For example:

UPDATE TEST
SET DESCRLONG='Aux fins d'exportations'
WHERE etc...

Should I put 2 singles quotes before the quote in the text?

UPDATE TEST
SET DESCRLONG='Aux fins d'''exportations'
WHERE etc...

Thank you very much :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2007
Added on Apr 8 2007
4 comments
7,073 views