INSERT
INTO TableB(A,B,C,D)
SELECT A,B,C,D
FROM TableA
Left Join TableB
On TableA.A = TableB.A
And TableA.B = TableB.B
And TableA.C = TableB.C
And TableA.D = TableB.D
WHERE Coalesce(TableB.A, TableB.B, TableB.C, TableB.D) Is NULL
-George
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.