A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

NOT IN (SQL) or Find Unmatched (+ other stuff)



 
 
Thread Tools Display Modes
  #21  
Old February 26th, 2010, 11:25 PM posted to microsoft.public.access.queries
Farkyss
external usenet poster
 
Posts: 25
Default NOT IN (SQL) or Find Unmatched (+ other stuff)

Sorry, yes, was a typo in copying - 999789 in that line - double checked it
by running it with such

"John Spencer" wrote:

DID you read the following?

=== QUOTE ===
More importantly:
Since query 2 returns 999789 and NOT 99789 I would not expect 99789 to be
excluded from the results of query 4.
=== End Quote ===

I based that comment on the jpegs you posted

The jpeg
http://www.clanimperium.net/2.JPG
shows one record with the serial number of 999789. Your posted query 3
eliminates 99789 with the where clause of
WHERE pd.SERIAL_NUMBER NOT IN ('99789');

Or is that another typo?

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
.

  #22  
Old March 1st, 2010, 12:29 PM posted to microsoft.public.access.queries
vanderghast
external usenet poster
 
Posts: 593
Default NOT IN (SQL) or Find Unmatched (+ other stuff)

Can you try the same query in MS SQL Server (whatever edition you have, some
are free)? If so, and if you get the same result, then all would point out
that the problem is with the data.

Vanderghast, Access MVP

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.