LIKE 'A%' With Other Parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcfly1204
    New Member
    • Jul 2007
    • 233

    LIKE 'A%' With Other Parameters

    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?
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    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

    Comment

    Working...