Ive got two tables. One has 102845 records, the other has 98496. I need to find the records that appear in the bigger table but not in the smaller table (4349). These are how I create the numbers:
--98496
drop table #test2 select a.*, B.Delq_Sep12, b.Bal_Sep12, b.Queue_Sep12 into #test2 from #test4 b join pcd a on (a.ACCOUNT_NUMBER = B.account_number) --102845
drop table #test1 select a.*, B.Delq_Sep12, b.Bal_Sep12, b.Queue_Sep12, into #test1 from #test4 b left join pcd a on (a.ACCOUNT_NUMBER = B.account_number) Thanks