The Responses gets counts and that lets me know i do have duplicates
What i really am after is the best Way to traverse the
duplicates to mark them as Rejected, i can't delete them
i also need to keep the oldest and reject the newest records
since i have a thread calling the Storedproc and this thread is a
MultiThread 1 to many
for instance thread 1 mite call rowset based on groupid
thread 1 groupid = 11111111
thread 2 groupid = 44444444
etc
each group has a set of rows 1 to 5000
the main table has millions of rows
so the query not only has the 10 columns but returns datecreated also
Im thinking a TmpFile is too much resource on the machine since its a multi
threaded application...
maybe a TmpFile named via the Threadid is better
Select all the dups into a tmp (physical) table and
work from there,
I would like to here all ideas pertaining to this
Thanks Very much
DaveL
"DaveL" <dvs_bis@sbcglobal.netwrote in message
news:uximk.9259$vn7.3415@flpi147.ffdc.sbc.com...
Quote:
Hi Hows it going , I need a Fast way to check for duplicate rows in a
single table
>
the identity keys and Primary Keys dont play in this scenario
>
>
i have like 10 columns
Column1 thru column10 as the columns that make it a duplicate row,
>
any help is welcome
Thanks
>
|