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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How do I check for partial duplicates?

Re: How do I check for partial duplicates?

From: <tday6_at_csc.com>
Date: Wed, 15 Aug 2001 13:46:36 -0700
Message-ID: <F001.0036C1A0.20010815134207@fatcity.com>

Here's an example:

select table_name||column_name, count(table_name||column_name) from sys.dba_tab_columns
group by table_name||column_name                                                                                             

                    Chris Rezek                                                        
    
                    <crezek_at_dotcl        To:     Multiple recipients of list ORACLE-L  
    
                    ick.com>             <ORACLE-L_at_fatcity.com>                        
    
                    Sent by:             cc:                                           
    
                    root_at_fatcity.        Subject:     How do I check for partial       
    
                    com                  duplicates?                                   
    
                                                                                       
    
                                                                                       
    
                    08/15/2001                                                         
    
                    04:48 PM                                                           
    
                    Please                                                             
    
                    respond to                                                         
    
                    ORACLE-L                                                           
    
                                                                                       
    
                                                                                       
    




We have a table that may have partial duplicate rows. What select statement do I write to return the partial duplicates?

table_name = MEM_INFO

MEM_ID
MEM_NAME
MEM_TIME
MEM_LAST

I am concerned about two rows having the same MEM_ID and MEM_NAME. Having the same MEM_TIME and MEM_LAST is okay.

Thanks,

Chris

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Chris Rezek
  INET: crezek_at_dotclick.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: tday6_at_csc.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Wed Aug 15 2001 - 15:46:36 CDT

Original text of this message

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