"Is Not Null" vs "Not Is Null"

Hey guys, according to this page, is not null and not is null are the same

http://stackoverflow.com/questions/4070207/what-is-the-difference-between-is-not-null-and-not-is-null

However when I am using not is null for a findfirst string I get an error. However is not null works perfect.

So what's the difference and what do y'all recommend I use? Thanks guys!! = ))
developingprogrammerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gustav BrockCIOCommented:
I (we) recommend what works perfect.

/gustav
0
BitsqueezerCommented:
Hi,

I would also not think too much about that: The experts of the other forum already have discussed it and came to the conclusion that the optimizer, the SQL parser will analyze that and convert that into the best possible plan. Normally "IS NULL" and "IS NOT NULL" is the preferable way as it belongs together as one expressions, where "NOT IS NULL" are two different expressions of "NOT" and "IS NULL".

But anyway: Use the tool I've linked in one of your previous questions to show the execution plan of Access and you'll see what happens...

Cheers,

Christian
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
developingprogrammerAuthor Commented:
haha gustav okie dokes! = )

got it Christian! i think the Not Is Null is 2 expressions is what i was looking for - now i understand it better.

thanks Christian and gustav!! = ))
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.