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: Quick and dirty way to compare table contents

Re: Quick and dirty way to compare table contents

From: LiShan Cheng <exriscer_at_gmail.com>
Date: Mon, 27 Feb 2006 12:54:34 +0100
Message-ID: <6e9345580602270354i44ed8c9cj3613fe4e008727b3@mail.gmail.com>


AFAIK Toad counts number of rows to compare, does not compare the table contents.

On 2/27/06, Spears, Brian <BSpears_at_limitedbrands.com> wrote:
>
> I use toad 8 dba.. Compares table contents. Life saver man on messy
> installs
>
>
>
> Brian **
>
> -----Original Message-----
> *From:* oracle-l-bounce_at_freelists.org [mailto:
> oracle-l-bounce_at_freelists.org] *On Behalf Of *Ranko Mosic
> *Sent:* Saturday, February 25, 2006 7:03 PM
> *To:* stephenbooth.uk_at_gmail.com
> *Cc:* _oracle_L_list
> *Subject:* Re: Quick and dirty way to compare table contents
>
>
>
> Again, as far as I am concerned, we can "close" this one. We are using
> simple num_rows count.
>
>
>
>
>
> On 2/25/06, *stephen booth* <stephenbooth.uk_at_gmail.com> wrote:
>
> On 22/02/06, Bobak, Mark <Mark.Bobak_at_il.proquest.com> wrote:
> >
> > I think you need to have a conversation with your boss that goes
> something
> > like this:
> >
> > "Hey boss, you can ask me to do something, or you can tell me how to do
> > it....but you can't do both!" ;-)
>
> I'm inclined to agree, although I know that sometimes it's just not
> possible.
>
> >
> > Ok, here's an actual attempt to answer your question:
> > Spool contents of table to a file, compute md5 sum.
> > Spool contents of other table to file, compute md5 sum.
> > Compare md5 sums.
> >
>
> Could do that, there's plenty of utils out there (many of them free
> downloads) for calculating checksums. If your boss wants something
> programatic looking you can always encapsulate the calls to SQL*Plus
> to spool the files, the calls to the checksum generator and the check
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Feb 27 2006 - 05:54:34 CST

Original text of this message

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