Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How about:
inner join EARoutAL on (earoutings.id = earoutal.routid) where earoutings.routtype in (3,4,5) or earoutings.routtype is NULL RBS wrote in message oups.com... I'm not sure if this is the best approach or not but I have a query that returns about 28k records. In part there is a join that reads: inner join EARoutAL on earoutings.id = earoutal.routid and earoutings.routtype in (3,4,5) This works fine. However it was discovered that there are many, about 6k records that have NO ROUTTYPE. So I was thinking of just adding the NOT Exists to the end but I'm either very wrong in my thinking or I have the syntax wrong. My luck, it will be both! So, I'm looking to return all records that have a routtype of 3, 4 and 5 and those records that do not have a routtype at all. Any suggestions? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
worksheet exists or not | Excel Programming | |||
See if a Range Name exists? | Excel Programming | |||
Exists? | Excel Programming | |||
File already exists | Excel Programming | |||
How can I know if a sheet exists ? | Excel Programming |