I'm trying to execute some data in a table. The issue is that I have to insert the name O'Donnel
into a field named name
and I'm getting a format error.
insert into Person (name) values ('O'Donnel');
I also don't want to use double floating commas ("") because I'm inserting this data using a JDBC system and Strings
in Java already use those.
So... is there any other solution?