| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: select & in a literal
Naushi Hussain <Naushi.Hussain_at_Alliedsignal.com> wrote in message
news:381A08E4.396F356E_at_Alliedsignal.com...
> How to use a select statement when one of the selected columns contains
> a '&' in its value
> when I issue a select statement it prompts me to enter a value instaed
> of printing the letter '&' .
>
> select col1 from table_a
>
> e.g. values of col1 is 'T&M'
In SQL*Plus:
SET SCAN OFF This will disable the prompting when an ampersand is encountered. Remember to turn it back on afterwards! Received on Sat Oct 30 1999 - 05:00:41 CDT
![]() |
![]() |