By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,766 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,766 IT Pros & Developers. It's quick & easy.

LIKE 'A%' With Other Parameters

P: 233
I am attempting to perform a query where I pull all names that begin with 'A' along with a couple other parameters. If I just look for names that begin with 'A', everything goes as planned, but when I add other stipulations, the previous is now void. How can I get around this?
Oct 8 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 2,878
You did not post your code so I'm assuming there's an OR in your WHERE clause. You should either use AND or use parenthesis to group your conditions.

-- CK
Oct 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.