Solved

Multiple Like

Posted on 2013-06-13
1
322 Views
Last Modified: 2013-06-13
Hello All,
How to make the foolowing into a multiple like condition:
select DrugLabelName,* from Reorders where DrugLabelName like '%skittles'
union
select DrugLabelName,* from Reorders where DrugLabelName like '%FAX MACHINE%'

Open in new window


Thanks.
0
Comment
Question by:Star79
1 Comment
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 39245504
SELECT DrugLabelName,* FROM Reorders WHERE (DrugLabelName LIKE '%skittles') OR (DrugLabelName LIKE '%FAX MACHINE%')
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

822 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question