christer99
IS-IT--Management
- Dec 3, 2001
- 247
How do I delete duplicate records? I am having problem with this
delete from policyhistory
where recidx in (select count(RECIDX), RECIDX from policyhistory
group by recidx
having count(recidx) > 1)
I have column called POLHID which is the actual ID and they are all unique. I have multiple rows with the same recidx which I am trying to get rid of
delete from policyhistory
where recidx in (select count(RECIDX), RECIDX from policyhistory
group by recidx
having count(recidx) > 1)
I have column called POLHID which is the actual ID and they are all unique. I have multiple rows with the same recidx which I am trying to get rid of