Jump to content

Omit duplicate records from script step


Recommended Posts

Hi,

 

I am working on a script, which finds a list of records, but I then want to omit just any duplicate records based a field being the same, but staying in the found set

Is this possible?

Link to post
Share on other sites

It is possible, but it shouldn't be necessary. It shouldn't be necessary, because usually when records have duplicate values there would be a parent table where each value has a unique entry. And performing the find in this table would give you precisely the list you are looking for. (This is assuming that by "omit just any duplicate records" you mean "keep one record in each group of duplicates and omit the rest" - not "omit ALL records that have a duplicate".)

Can you provide more details regarding what you have and what are you trying to accomplish? 

 

Edited by comment
Link to post
Share on other sites

Yes I want only 1 record of each duplicate of each kept, think I have a way of doing it by looping

Link to post
Share on other sites

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.