|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Select in ado.net oledbHi,
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 *.
-- Show quote____________________________________ 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. __________________________________ "JR" <XX***@XX.XX> wrote in message news:7JPvf.90685$q97.5843087@phobos.telenet-ops.be... > 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 > > > |
|||||||||||||||||||||||