G
Guest
Hi. Is there a shorthand for matching a list of items in the WHERE clause?
Here's what I mean:
select * from SomeTable
where
(
(SomeColumn='A')
or
(SomeColumn='Q')
or
(SomeColumn='Y')
or
(SomeColumn='M')
)
Is there some way to make a list of things to match "SomeColumn" instead of
having to do many "OR"s?
Alex
Here's what I mean:
select * from SomeTable
where
(
(SomeColumn='A')
or
(SomeColumn='Q')
or
(SomeColumn='Y')
or
(SomeColumn='M')
)
Is there some way to make a list of things to match "SomeColumn" instead of
having to do many "OR"s?
Alex