Hi,
Is there a way to use a list of strings with the
like statement?
For example I can do
select * from table
where
col1 like 'test%'
or col1 like 'fun%'
or col1 like 'sun%'
Is there any way to condense this to soemthing like
select * from table
where col1 like ('test%','fun%','sun%')
thanks
Is there a way to use a list of strings with the
like statement?
For example I can do
select * from table
where
col1 like 'test%'
or col1 like 'fun%'
or col1 like 'sun%'
Is there any way to condense this to soemthing like
select * from table
where col1 like ('test%','fun%','sun%')
thanks