Thread
:
Any SQL gurus in the house? Can you help?
View Single Post
09-25-2008, 05:53 AM
sarettah
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,214
Quote:
INSERT INTO db2 SELECT * FROM db1 WHERE id NOT IN (SELECT id FROM db2)
Quote:
Originally Posted by
Owen Pierce
sub-selects? YIKES!
Yep. Pretty quick, simple and straight forward.
And your issue with sub-selects is ??
__________________
All cookies cleared!
sarettah
View Public Profile
Find More Posts by sarettah