Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a Wildcard in an IN statement

Status
Not open for further replies.

Buckman0

Technical User
May 21, 2001
5
US
Can a wildcard character be use in an IN statement? If not, can and IN statement be combined with a LIKE statement in order to utilize a Wildcard character?
 
I don't think you can use a wild card in an in statement

but you could write

where (somefield in ('AAA','BBB','CCC') or somefield like 'D%')

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top