Skip to Main Content

SQL Developer

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!

Problem with single quote when exporting insert statement

587440Apr 28 2011 — edited May 6 2013
Hi

I'm using Oracle SQL Developer 2.1.1.64 on Ubuntu 10.04. I got some records which has single quote in it.

For example,
Let says Table '*TABLE_A*' has varchar2 column called '*COL_A*'.
And there is only one record in the table and the value is:

his friend's dog name is dog.

When I export that table data to insert statement, i got this:

Insert into TABLE_A (COL_A) VALUES ('his friend's dog name is dog.');

As you can see friend's is wrong, it should be friend''s instead. (note the double single quotes).

Anyone knows how to fix this please?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2013
Added on Apr 28 2011
11 comments
1,720 views