Home All Groups Group Topic Archive Search About
Author
20 Jan 2006 8:58 PM
Joe
I have and use Red Gate software for comparison.  However; I'm at a loss on
this data compare scenario:

I have two tables I want to compare, but the PK-ID field is seeded
differenly between the 2 tables.  So when I do a comparison - every row is
considered different.  I looked at a couple other tools to see if I could
compare and exclude columns - but havent' found any.  I remember once seeing
a T-SQL solution - but I cannot find that either.

One thought I had was that this particular table, the PK-ID field is not
used anywhere else - so maybe I could just reseed the one table to match the
other.

Can anyone offer some suggestions?

Author
20 Jan 2006 9:39 PM
Anith Sen
It is hard to understand your narrative without an example. Can you post
your table structures, sample data & expected results? For details refer to:
www.aspfaq.com/5006

--
Anith
Author
20 Jan 2006 9:48 PM
Joe
I found the perfect solution just now a SP called sp_compare:
http://www.databasejournal.com/scripts/article.php/1579951


Show quote
"Anith Sen" <an***@bizdatasolutions.com> wrote in message
news:%23eTMaogHGHA.3624@TK2MSFTNGP09.phx.gbl...
> It is hard to understand your narrative without an example. Can you post
> your table structures, sample data & expected results? For details refer
> to: www.aspfaq.com/5006
>
> --
> Anith
>

AddThis Social Bookmark Button