Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Not In" 1

Status
Not open for further replies.

dndaughtery

Programmer
Jan 25, 2006
67
US
I need to write a query which returns all records that don't have a 602 or 610 in a field called subserviceID. This is what I currently have:


SELECT * From rejects where SubServiceID Not In (602, 610)


But it returns no rows. I have checked the table and the majority of the records have a null value which I'd like to have reurned. What am I doing wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top