Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Table Comparison software?

 
   Database Help (Home) -> Java RSS
Next:  My new tool now here:  
Author Message
Rhino

External


Since: Oct 06, 2005
Posts: 6



(Msg. 1) Posted: Thu Oct 06, 2005 12:21 pm
Post subject: Table Comparison software?
Archived from groups: comp>lang>java>databases (more info?)

Is anyone aware of any software - freeware, shareware, or commercial - that
can be used to compare the contents of two tables to see if they are
identical, or, if not, to highlight the differences between them?

Ideally, such a program would compare tables from different databases, e.g.
DB2 and MySQL, and would be platform-agnostic so that databases on different
operating systems could still be compared but those aren't necessarily "must
have" features.

I would imagine that someone involved in software testing might be aware of
tools along the lines that I am describing.

--
Rhino

 >> Stay informed about: Table Comparison software? 
Back to top
Login to vote
John Currier

External


Since: Jun 03, 2005
Posts: 1



(Msg. 2) Posted: Fri Oct 07, 2005 6:29 am
Post subject: Re: Table Comparison software? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Rhino wrote:
> Is anyone aware of any software - freeware, shareware, or commercial - that
> can be used to compare the contents of two tables to see if they are
> identical, or, if not, to highlight the differences between them?
>
> Ideally, such a program would compare tables from different databases, e.g.
> DB2 and MySQL, and would be platform-agnostic so that databases on different
> operating systems could still be compared but those aren't necessarily "must
> have" features.
>
> I would imagine that someone involved in software testing might be aware of
> tools along the lines that I am describing.
>
> --
> Rhino

It wouldn't be very difficult to write a simple version of something
like that using JDBC. By simple I mean dump the contents of each table
to a file (dealing with binary data in the process) and use another
tool that's good at performing file comparisons (e.g. WinDiff).

John Currier
http://schemaspy.sourceforge.net

 >> Stay informed about: Table Comparison software? 
Back to top
Login to vote
sualeh.fatehi

External


Since: Oct 10, 2005
Posts: 2



(Msg. 3) Posted: Mon Oct 10, 2005 6:09 am
Post subject: Re: Table Comparison software? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Rhino,

I am the author of SchemaCrawler. It is open source, and hosted on
SourceForge. http://sourceforge.net/projects/schemacrawler/

SchemaCrawler is written in Java, and is a command line tool, with an
ant task too. It can dump your database schema (metadata), as well as
data into a text file (plain text, CSV or XHTML). All of these text
file formats are designed to be diff-ed. (You will need to use your
favorite diff tool to do the diffs.)

I have successfully used SchemaCrawler to compare databases from one
database type to another (such as DB2 and MySQL), and also an older
schema with a newer version of the schema.

Please email me separately if you need help in using this tool. Enjoy.

Sualeh.
 >> Stay informed about: Table Comparison software? 
Back to top
Login to vote
Rhino

External


Since: Oct 06, 2005
Posts: 6



(Msg. 4) Posted: Fri Oct 14, 2005 8:42 am
Post subject: Re: Table Comparison software? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"John Currier" <md4curvs.RemoveThis@gmail.com> wrote in message
news:1128691772.474767.87500@f14g2000cwb.googlegroups.com...
> Rhino wrote:
> > Is anyone aware of any software - freeware, shareware, or commercial -
that
> > can be used to compare the contents of two tables to see if they are
> > identical, or, if not, to highlight the differences between them?
> >
> > Ideally, such a program would compare tables from different databases,
e.g.
> > DB2 and MySQL, and would be platform-agnostic so that databases on
different
> > operating systems could still be compared but those aren't necessarily
"must
> > have" features.
> >
> > I would imagine that someone involved in software testing might be aware
of
> > tools along the lines that I am describing.
> >
> > --
> > Rhino
>
> It wouldn't be very difficult to write a simple version of something
> like that using JDBC. By simple I mean dump the contents of each table
> to a file (dealing with binary data in the process) and use another
> tool that's good at performing file comparisons (e.g. WinDiff).
>
> John Currier
> http://schemaspy.sourceforge.net
>

Yes, I'm aware that it wouldn't be terribly difficult to write something for
myself but I'm just trying to see if something already exists that would do
the job so that I can avoid taking time out to write my own utility.

Rhino
 >> Stay informed about: Table Comparison software? 
Back to top
Login to vote
Rhino

External


Since: Oct 06, 2005
Posts: 6



(Msg. 5) Posted: Fri Oct 14, 2005 9:19 am
Post subject: Re: Table Comparison software? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

<sualeh.fatehi DeleteThis @gmail.com> wrote in message
news:1128949780.894308.105780@g44g2000cwa.googlegroups.com...
> Rhino,
>
> I am the author of SchemaCrawler. It is open source, and hosted on
> SourceForge. http://sourceforge.net/projects/schemacrawler/
>
> SchemaCrawler is written in Java, and is a command line tool, with an
> ant task too. It can dump your database schema (metadata), as well as
> data into a text file (plain text, CSV or XHTML). All of these text
> file formats are designed to be diff-ed. (You will need to use your
> favorite diff tool to do the diffs.)
>
> I have successfully used SchemaCrawler to compare databases from one
> database type to another (such as DB2 and MySQL), and also an older
> schema with a newer version of the schema.
>
> Please email me separately if you need help in using this tool. Enjoy.
>
> Sualeh.
>
Thanks for the suggestion, Sualeh! I'll let you know if I have any problems
with SchemaCrawler.

Rhino
 >> Stay informed about: Table Comparison software? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
XML comparison - Hi, I have an urgent requirement to be done in JAVA where in I need to compare between two directories and to see if there are exact same name files available in both the directories. So for eg. DIR1 and DIR2 both have 1.xml, 2.xml then its fine or..

Java &amp; MySQL show table status command - Hi, I am using java to retrieve a resultset with "show table status" mysql command. I am having problem reading the [name] and [engine] column. In the metadata object it is showing as VARCHAR but when I do getString() it is returning me the o...

SQLServer 2000 Driver for JDBC behaviour on SQL Server res.. - 1) My java code properly connects to the SQL Server DB via the SQL Server 2000 JDBC driver. 2) During one of our stress tests, we restarted the SQL Server to see how the code handles it. 3) My code doesn't really recognize that the SQL server is up and m...

Displaying contents from database in an applet - I have created a connection to an MSAccess database, but I am unable to display the results in an webbrowser. My question is therefore how do I retrieve and displaty the records of my database on a webpage? Kind regards Johan Reimers

Hibernate and log4j config under Tomcat. - "Under Tomcat 3.x and 4.x, you should place the log4j.properties under the WEB-INF/classes directory of your web-applications. Log4j will find the properties file and initialize itself. This is easy to do and it works." "The XML configu...
   Database Help (Home) -> Java All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]