Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: inserting the value "&"
Rauf Sarwar wrote:
> Try this,
>
> INSERT INTO dirs
> (dirName,
> ip)
> VALUES
> ('/BALD RUNTER/Simon '|| CHR(38) ||' Garfunkel - The Definitive
> (1994)/', '134.93.40.167');
>
> CHR(38) is the ASCII value of &.
Thanks for your answer, but I managed to solve the problem by myself.
Only thing I had to do was to:
set escape '\';
INSERT INTO dirs
(dirName, ip) VALUES ('/BALD RUNTER/Simon \& Garfunkel - The Definitive (1994)/', '134.93.40.167');
Regards Moritz Received on Mon Dec 30 2002 - 06:07:20 CST
![]() |
![]() |