Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5281 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi everyone,

A little stuck on this one.

I get a CSV Database of about 7500 products. I need to compare an old copy and a new copy of the database, and take out the duplicates in each database.

I have 2 tables old_db and new_db. I import the correct files, that works fine. How can I search through these tables records and find the duplicates and delete them?

I have tried several scripts and no of them work. I am open to any suggestions. thanks!

Posted

Script (copied from a file submitted by comment)

pseudo code:

Sort records by the field [thisfield] that is the duplicate

Goto first record

Loop

If (thisfield = Get Nth Record(thisfield; Get (RecordNumber)-1)

Delete record

Goto previous record

End if

Goto next record [exit after last]

End loop

This topic is 5281 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.