This may work
SELECT COUNT(*) FROM ETL_TEMP.XREF_VENDOR_TMP TP WHERE TP.VENDOR_ID NOT EXISTS (select * FROM ETL_TEMP.XREF_VENDOR TPP WHERE TPP.VENDOR_ID=TP.VENDOR_ID);
Attachments
Library
Quick Reference
Archives
Sample Index
2003 Indexes