Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to suppress special characters in query
Place the SQLPlus statement
set define off
in the beginning of the script before any SQL or pl/sql
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Harvinder Singh
Sent: Monday, February 05, 2007 4:03 PM
To: oracle-l
Subject: How to suppress special characters in query
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
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Feb 05 2007 - 15:07:18 CST
![]() |
![]() |