I\'m using Oracle 10g and I\'m having a problem inserting a string with double quotes into a table. This is my statement
INSERT INTO USERS (ID, NAME, USERNAM
It is possible. In Oracle, you quote string literals using single quotes.
If you want to insert test
into the database then you must quote that as 'test'
.
INSERT INTO USERS (NAME) VALUES ('test');
If you want to insert "test"
into the database then you must quote that as '"test"'
.
INSERT INTO USERS (NAME) VALUES ('"test"');