Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

Omega sector
America's Last
Line of

*Since it has the recorder office number ( column A ) on the line of all the John Kings and if the number is the same it will be deleted but if not and there are two different John's and it has a different recorders office number it will stay which is good . . and the column R has a letter which says it is not the same . . there are 2 columns that are in this which says which one goes and which stays . . the recorders office number Column A and the Status Column R are the ones which do all the work rest are the same stuff . .


On 07/28/2012 03:24 PM, Andrew Brager wrote:
Keep in mind that you do in fact lose the duplicates completely. I would think you want to keep one of the duplicates.

So for example if the merged files give you 4 records total:

John King
John King
Peter Rabbit
Bugs Bunny

You end up with 2 records - Peter Rabbit and Bugs Bunny - losing John King completely. The solution I presented returns all 3 unique records, losing just one of the repeated names instead of both, which to me makes more sense. Obviously you know your application better than I do, just want to make sure you're not surprised when 25% (or whatever percentage) of your database goes missing.

On 7/28/2012 2:22 PM, Lynne Stevens wrote:

*Hey that sounds good to me I will have Thomas bring over a set of the files
and I will use it . . will make Thomas jump up and down and happy


*Ok Thomas downloads 2 Data bases ( CVS format ) he wants to remove
Duplicates from Data Base B using Data base A and THEN Data Base A gets
deleted when done

OK, that is

$ cat fileA.csv fileB.csv | sort | uniq > fileC.csv

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.