function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Harshada Kadu 9Harshada Kadu 9 

Duplicate Account records

Hi,
I have integrated Salesforce with a site named SEA.
The data form SEA is pushed in Salesforce. However there are duplicate records which got inserted due to some password issue.
Now I want to remove the duplicate data i.e  duplicate accounts and also to make sure this not happens again I woud like to write a trigger on Account object.
If anyone could help me in removing the duplicates and in writting the trigger.

Regards,
Harshada
ali.ozdenali.ozden
The best way to remove duplicate accounts is to merge them.When you go to Accounts Tab you will see a tools section at the right bottom.
To prevent duplicates, instead of insert you should use an external Id and upsert records into Salesforce.