NOT IN problem with GUIDs
From: Craig Buchanan (someone_at_microsoft.com)
Date: 12/01/04
- Next message: Tony Williams: "Re: Use of DCount"
- Previous message: Wayne Morgan: "Re: bind listbox to parameterized query?"
- Next in thread: MacDermott: "Re: NOT IN problem with GUIDs"
- Reply: MacDermott: "Re: NOT IN problem with GUIDs"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Dec 2004 10:24:15 -0600
I'm having a problem with a query that uses a subselect on a GUID field.
The query doesn't return the correct number of row. There are 10 total
records, the subquery (works correctly by itself) returns 1 record. The
whole query should return 9 rows. What am I missing? Is this a GUID issue?
PARAMETERS GroupId Guid;
SELECT Person.Id, [LastName] & ", " & [FirstName] AS FileAs
FROM Person
WHERE Person.Id Not In (PersonId FROM GroupPerson WHERE GroupId = [GroupId])
Thanks.
Craig
- Next message: Tony Williams: "Re: Use of DCount"
- Previous message: Wayne Morgan: "Re: bind listbox to parameterized query?"
- Next in thread: MacDermott: "Re: NOT IN problem with GUIDs"
- Reply: MacDermott: "Re: NOT IN problem with GUIDs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|