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

Home -> Community -> Mailing Lists -> Oracle-L -> How to suppress special characters in query

How to suppress special characters in query

From: Harvinder Singh <Harvinder.Singh_at_MetraTech.com>
Date: Mon, 5 Feb 2007 16:02:46 -0500
Message-ID: <D6424CD4C8A3C044BBC49877ED51C51804E0278D@ex2003.metratech.com>


Hi,

We have a query like following that includes the & symbol and since this is a special character so Oracle prompts for the input. Is there any way to suppress this special character in a query without using the set define off option at sqlplus session?

Select * from tab1 where col1 like = 'A & B'

Thanks
--Harvinder

--

http://www.freelists.org/webpage/oracle-l Received on Mon Feb 05 2007 - 15:02:46 CST

Original text of this message

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