Reserved Word of & in Oracle SQL Statement
I used Oracle as my database, but I faced a problem when I execute the statement below
INSERT INTO [TABLE1] ( AStringField ) VALUES ( 'THIS IS A & Ampersand' )
The error is something like this,
the data is too long...
But I check my field lenght is large enough to store the data ( The actual lenght is varchar(50) ), Basically it only happen when I insert A & symbol in my statement, if I remove the & symbol, the statement was executed successfully...
Can anyone help me ???
Thank you
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Tanvir HudaRank #4,089 · 366 reputationPosted Feb 18, 2005, 5:45 AM EST