Link to home
Start Free TrialLog in
Avatar of mkhan900
mkhan900

asked on

Java program to read unique records from a file

I have a file which about a GB, its from a SQL output which has dups in it.(abc.txt)
I am trying to wrtie a program which could read abc.txt and write the unique records to def.txt
How can I do this in java.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of krakatoa
krakatoa
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ow, that's for unique values, you want de-duping.
Thanks. It should work for dupes though too. ;)