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!

Handling Apostophe

866081Oct 29 2016 — edited Oct 30 2016

Hi All,

I have data scenario where in my input data is coming with apostrophe( Highlighted in red) like below

SELECT * FROM TABLE

where ERR_DESC='O'NEIL';

I have starting and ending quote because the column is varchar column.

It is giving out error. i tried using REPLACE but not able to handle the above scenario. Please let me know how this can be handled.

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2016
Added on Oct 29 2016
7 comments
1,930 views