Hi
i having a few problems what i need to do is find duplicate rows in a mssql database i can do from one table but i need it to run across 2 tables
this is the code i useing to do one table
SELECT COUNT(*), sID1, sID2, sID3 FROM ITEM_T
WHERE (sItemID = 760) OR
(sItemID = 761) OR
(sItemID = 762)
GROUP BY sID1, sID2, sID3
HAVING COUNT(*)>1;
this is the other table i need to include
SELECT COUNT(*), sID1, sID2, sID3 FROM BANKITEM_T
the cloums within the tables are the same
many thanks
lorraine1000