Select in ado.net oledb

  • Thread starter Thread starter JR
  • Start date Start date
J

JR

Hi,

Can I use wildcards in a select command. My command is like this:
SELECT ID FROM songs WHERE (Title LIKE in(?,?))
if I remove the 'like' or the 'in' it works. together it doesn't

of course without the in I need the correct names and with the like I add
the '%'
the database is access. the connection oledbconnection
thanks Jan
 
Use *.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
Back
Top