问题
I'm using a DB2 database.
How to insert '
(single quote) as data into a table.
For example:
Insert into EMP values ('Raju's kumar' , 10000)
where the name has a '
(single quote).
回答1:
try this (double quote)
Insert into EMP values ('Raju''s kumar' , 10000)
来源:https://stackoverflow.com/questions/44174958/how-can-i-inserting-a-string-with-a-single-quote-in-it-into-a-db2-table