View Single Post
  #4 (permalink)  
Old 02-24-10, 16:00
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by fff398 View Post
oh sorry didn't realize NOT IN was exclusive to only sql server?
actually, it is ANSI SQL

however, a great number of problems posted in this thread are actually looking for a dbms-specific solution, not an ANSI SQL one



i don't know why your NOT IN didn't work either, the only thing i can think of is trailing spaces in the data values

but if you're happy with EXCEPT, that's fine

EXCEPT is ANSI SQL too
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote