Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> inserting records
When I tried to insert a record contains a '&' character into a varchar2 datatype column, it will prompt me for the value of string that appears after the & char, eg record is "t & t1"
After I entered the insert sql statement, I'll get the following
Enter value for t1:
#after I pressed enter
old : insert ....... values("t & t1")
new : insert ....... values("t & ")
Tried to put to a backslash in front of the & char as an escape char but it doesn't seemed to work. Anyone has any idea why is this happening and how can I go abt to insert the & char into the table? TIA.
-- Choon LeongReceived on Tue Feb 11 1997 - 00:00:00 CST