Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Ampersand sign in a string

Re: Ampersand sign in a string

From: news <y.a.n_at_free.fr>
Date: Fri, 30 Nov 2001 16:44:22 +0100
Message-ID: <3c07b365$0$202$626a54ce@news.free.fr>


try something like '||'&'||' it seems to work correctly

SELECT FES_LONG_DESCRIPTION From VERIFIERS
> > WHERE LOW_VALUE)='MO'||'&'||'TU' AND VERIFIERS.RV_DOMAIN)='DAYS';
"Rob Sinn" <robsinn_at_home.pipex.com> a écrit dans le message news: 3c077b94$0$231$cc9e4d1f_at_news.dial.pipex.com...
> I take it that you are referring to SQLPlus ?
> You need to set the environment variable 'define' to something other than
> '&'.
>
> Rob
>
> "Galina" <Galina.Self_at_cityofbristol.ac.uk> wrote in message
> news:af2b7239.0111300320.713af654_at_posting.google.com...
> > Hello
> >
> > I have Oracle SQL:
> > SELECT FES_LONG_DESCRIPTION From VERIFIERS
> > WHERE LOW_VALUE)='MO&TU' AND VERIFIERS.RV_DOMAIN)='DAYS';
> >
> > The ampersand in the middle of the criteria string causes Oracle asking:
> > "Enter value for tu:"
> >
> > How can I make this SQL so that 'MO&TU'
> > is taken as a whole?
> >
> > Thank you.
> > Galina
>
>
Received on Fri Nov 30 2001 - 09:44:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US