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

Home -> Community -> Usenet -> c.d.o.server -> AMPERSAND in where clause mistaken for variable name

AMPERSAND in where clause mistaken for variable name

From: <djose_at_att.com>
Date: 1997/05/15
Message-ID: <863711552.29676@dejanews.com>#1/1

Hi everyone,

I have a query which is as follows

SELECT

        column_1,
        column_2
FROM
        table
WHERE
        column_3 = 'ABC&DEF';

The problem is 'ABC&DEF' represents a value in the table, but because of the ampersand oracle mistakes it for a variable which has to be input and prompts me for DEF.

My question : Is there a way to make oracle understand that 'ABC&DEF' is a data value in the column and not prompt me for DEF.

Any input would be very much appreciated.

Thanks for your time and have a good day.

regds,
Jude

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
Received on Thu May 15 1997 - 00:00:00 CDT

Original text of this message

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