Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Single Quote ( ' ) problem in SQL
I have a main table A and contains a column Name. For this column Name I have a lookup table. In many of the names there is a single quote present for example O'Conner. In my application I display a list of Names from the lookup table. When the user selects names like O'Conner a dynamic SQL is generated which looks like
Select blah, blah, blah From A where Name = 'O'Conner';
Thanks in advance.
Ajay Kakade Received on Mon Mar 10 1997 - 00:00:00 CST