I am writing one sql query as below :-
select a, b, c
from table_name
where b in (
'some string & some string'
,'some other string & some other string'
)
Things I have tried :-
- Tried using
SET DEFINE OFF
. It seemed to work fine but its use is restricted to sql developer only, which is not my requirement. As i need to export this query to other tool for creating report. - Tried using
chr(38)
like
'some string'|| chr(38) ||'some string'
,'some other string'|| chr(38) ||'some other string'
But it works fine when I use it one time. Using chr(38)
multiple times is throwing error.
Any leads over here is aprreciable. Thanks in advance.