I am in trouble that how to be inserted symbol like single quotes(any other) in postgresql database. There are many solutions from this site that i have tried but my problem is not get solved.
I have checked all the symbols as below. All symbols are inserted into database correctly. But i am getting an error while inserting only on single quotes
.
i.e. ! @ # $ % ^ & * ( ) _ + - = { } [ ] | \ : " < > ? ; , . / / * - + .
Can anyone solve this issue that how to stored single quotes..?
Is that problem with character varying,
..? Or is their something that i have missed..?
Following is my query
INSERT INTO command_tbl(sno, deviceid, command) VALUES (111, 'c_bc0ac1fe48', 'Di1'ABC');