I am using the following pass-through (Access as a front-end) to find duplicate member numbers and then return all the records that have the duplicate member numbers:
It is ridiculously slow, which means I am not doing it right, probably.
Please let me know how I can speed this up.
Thanks. Sean.
Code:
SELECT * FROM Tbl_Members WHERE (Tbl_Members.MemberNr) In
(select MemberNr from Tbl_Members
group by MemberNr HAVING count(MemberNr)>1)
order by MemberNr desc;
It is ridiculously slow, which means I am not doing it right, probably.
Please let me know how I can speed this up.
Thanks. Sean.