Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Finding dup columns in 1 record

Finding dup columns in 1 record

From: FIRSTNAME LASTNAME <buetikoc_at_merck.com>
Date: Sat, 30 Dec 2000 13:03:32 -0500
Message-ID: <3A4E2374.CA9D130C@merck.com>

I have a ( poorly designed )table that can have multiple duplicates in each column per record. I've tried some nested loops using PL/SQL but I ran into concurrency problems where it would find a duplicate pair 2 times.

Would the better solution be to fetch everything into a PL/SQL table then output the update SQL that way after finding the duplicates? That way I could write the update SQL and also update the PL/SQL table via array assignments so it wouldn't find the same duplicates again and again...

TIA,
Cliff

       The contents of this message express only the sender's opinion.
       This message does not necessarily reflect the policy or views of
       my employer, Merck & Co., Inc.  All responsibility for the statements
       made in this Usenet posting resides solely and completely with the
       sender.
Received on Sat Dec 30 2000 - 12:03:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US