View previous topic :: View next topic
|
Author |
Message |
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 419 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
Isn't this a simple first 'occurence' wins situation? |
|
Back to top |
|
|
cvishu
Active User
Joined: 31 Jul 2007 Posts: 136 Location: india
|
|
|
|
anshul , sorry i dint notice , you are correct |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
Chanin Smoker => "I hate cigaretes .... thats why i burn them down "
There s always a smater way to express urself |
But one should not advocate for wrong things ! (Well, let's don't talk about "perception" here, some things are beyond that because they are facts.) |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
Step1 : Concatenate and sort on ur key
step2 : Generate the sequence number and replace ur KEY with it .
|
the TS request was simply ...
concatenate file1 file2 file 3 and create e unique sequence number
as seen from the example of the output file...
sorting as suggested will mix up the records
so forget about SORTING anything,
any suggestion about sort is ...
1) a misunderstanding of the initial requirement
2) a useless waste of resources in sorting what has already been sorted
( see my previous posts and the replies that follow them ) |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 419 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
enrico,
great pattern recognition! |
|
Back to top |
|
|
|