Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retriew duplicates from input file

Status
Not open for further replies.

ss123mercator

Programmer
Jul 25, 2003
7
0
0
US
Hi,

Could anybody help me,how to retriew only duplicates from an input file.output file has to show only duplicates.
ex:input file output file
a b c a b c
b g f a b c
s d f b g f
w d b b g f
a b c
b g f

Thanks.
 
svrrp,

Is the input file indexed (as in SQL Server)? If so, you can do this with a SQL statement in the Query of the .mdq file or a stored procedure. Let me know.

nelfel

 
Thanks nelfel, I want it with map rules not from database. I did it and I got output.

Thanks once again for u r response.
 
I have an example that if provided with a list of NL seperated objects will print a list of only those objects that appear more than once, and the number of times that they appear.

Please email customercare.uk@mercator.com for the example.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top