Comparing 2 tables
- From: m <modhak@xxxxxxxxx>
- Date: Thu, 27 Mar 2008 22:00:32 -0700 (PDT)
Hi All
I need to compare 2 tables ( I need to eliminate 2 columns in the
table while comparing, they are dates and userids which wil be
different. )
Example:
TableA( colA, colB, colC, colD, colE)
TableB( colA, colB, colC, colD, colE)
I need to compare TableA and TableB , for me they are equal if
contents of colA, colB, colC are same , need not compare colD and
colE.
I write jdbc program which reads tables and compare row by row, just I
think it is laborious. Is there a better way of doing this. Please let
me know.
Thanks
.
- Follow-Ups:
- Re: Comparing 2 tables
- From: Roedy Green
- Re: Comparing 2 tables
- From: David Harper
- Re: Comparing 2 tables
- Prev by Date: Re: MS SQL Server in Java/J2EE environment
- Next by Date: Re: Comparing 2 tables
- Previous by thread: MySql - creating a schema.
- Next by thread: Re: Comparing 2 tables
- Index(es):
Relevant Pages
|
|