Data difference
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Data difference

  1. #1
    Join Date
    Sep 2000
    Location
    VA
    Posts
    343

    Data difference

    Does anyone know of any free tool or script that will let me compare the data between 2 tables and give the difference ? Thanks.

  2. #2
    Join Date
    Mar 2000
    Location
    Atlanta, GA,USA
    Posts
    155
    dbms_rectifier_diff package under SYS schema.

    Enjoy,
    Sergey

  3. #3
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253

    Re: Data difference

    Originally posted by rshivagami
    Does anyone know of any free tool or script that will let me compare the data between 2 tables and give the difference ? Thanks.
    Free tool = SQL
    Free script depends on what differences you are looking for.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  4. #4
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,136
    Code:
    SQL> select * from t1;
    
            ID
    ----------
             1
             3
             5
    
    SQL> select * from t2 ;
    
            ID
    ----------
             1
             2
    
    SQL> 
      1  select *
      2  from ( (select * from t1 minus select * from t2)
      3         union all
      4         (select * from t2 minus select * from t1)
      5*     )
    SQL> /
    
            ID
    ----------
             3
             5
             2
    
    SQL> spool off

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width