Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Your IN statement is very nice. I tried it, but unfortunately it only
works for exact strings. I would like to have something like: SELECT ... FROM ... WHERE Name IN ('*An*' ,'John') and Age=26 so not only An but also Ann will be chosen I tried already this one: SELECT ... FROM ... WHERE Name Like "An" And Age=26 Or Name Like "John" and Age=26 This works, but SELECT ... FROM ... WHERE (Name Like "An" Or Name Like "John") and Age=26 doesnt' work |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MS Query Oracle syntax | Excel Discussion (Misc queries) | |||
MS Query Oracle syntax | Excel Discussion (Misc queries) | |||
Microsoft Query syntax | Excel Discussion (Misc queries) | |||
MS Query - Alias syntax | Excel Worksheet Functions | |||
DB query syntax | Excel Programming |