Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: how to store as a varchar2 a string containing single quotes
Hi!
D> I am very interested to store in a database the following kind of D> string data, which correctly resembles part of an SQL command:
D> decode( handled_status, 'F', 0, 'U', 1, 'S', 2, 3 )
Update mytable Set mycol = 'aa = ''string''' Where ...
Bye