Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> problem with ampersand
Hi,
I'm trying to create a function that includes this line:
CHR(13)|| 'Run Type: ' || (CASE SD_RUN_TYPE WHEN 1 THEN 'Manual' WHEN 2 THEN 'L&L' ELSE 'Automatic'
when I run the script via either SQL*Plus or TOAD, I get a prompt:
Enter value for l: 1
old 97: CHR(13)|| 'Run Type: ' || (CASE SD_RUN_TYPE WHEN 1 THEN
'Manual' WHEN 2 THEN 'L&L' ELSE 'Automatic' END) ||
new 97: CHR(13)|| 'Run Type: ' || (CASE SD_RUN_TYPE WHEN 1 THEN
'Manual' WHEN 2 THEN 'L1' ELSE 'Automatic' END) ||
which means I'm getting 'L1' instead of the 'L&L' token that I need. Although I already have a workaround, I'm quite curious why would that happen
TIA Received on Fri May 21 2004 - 13:13:26 CDT
![]() |
![]() |