Albert

Albert

  • NA
  • 42
  • 4.3k

How to use both "like" and "=" in select statment.

Jan 12 2015 7:53 AM
How to use both "like" and "=" in select statment.
 
here is the query "select * from tblxyz where name like @a1 or mob like @a2 and city = @a3"
 
What is the right method to use these type of queries.
 
please reply soon.

Answers (4)