Showing posts with label red. Show all posts
Showing posts with label red. Show all posts

Thursday, March 8, 2012

Data Compare

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?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|||I found the perfect solution just now a SP called sp_compare:
http://www.databasejournal.com/scri...cle.php/1579951
"Anith Sen" <anith@.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
>

Data Compare

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?
That would sort of defeat the purpose. The PK is supposed to uniquely
identify a row. If there is no way to uniquely identify a row, then how can
any comparison tool compare any row to any other row?
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Joe" <bill@.msn.com> wrote in message
news:OgjKPRgHGHA.216@.TK2MSFTNGP15.phx.gbl...
>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?
>

Friday, February 24, 2012

Damn Pesky ' RED X'

How...Why...
Running SQL 2000 SP3 & Win 2000 Adv Srv.
I cannot get rid of the Red X that appears in my replication monitor.
I have run 'sp_MSload_replication_status' to no avail.
HELP!!!
How can I get rid of this?
The X appears on the Replication
Monitor->Publishers->servername->Publication, but there is no problem
with the Snapshot, log Reader or the Distribution Agent.
The X appears on the Replication Monitor->Agents->Distribution Agents
folder, but there is no errors with any of the distribution agents.
My SQL servers get restarted nightly, but the servers are not
restarted. Manually restarting the SQL server do not fix this either.
Any help will be appreciated.
Larry...
Try restarting the sql server service if all else fails. Usually it results
from an out-of-date error in tempdb (assuming it is not a genuine error .
Rgds,
Paul Ibison
<lreames@.gmail.com> wrote in message
news:1109791850.594371.167360@.l41g2000cwc.googlegr oups.com...
> How...Why...
> Running SQL 2000 SP3 & Win 2000 Adv Srv.
> I cannot get rid of the Red X that appears in my replication monitor.
> I have run 'sp_MSload_replication_status' to no avail.
> HELP!!!
> How can I get rid of this?
>
> The X appears on the Replication
> Monitor->Publishers->servername->Publication, but there is no problem
> with the Snapshot, log Reader or the Distribution Agent.
> The X appears on the Replication Monitor->Agents->Distribution Agents
> folder, but there is no errors with any of the distribution agents.
> My SQL servers get restarted nightly, but the servers are not
> restarted. Manually restarting the SQL server do not fix this either.
> Any help will be appreciated.
> Larry...
>
|||have you enabled show anonymous subscriptions? Right click on Replication
Monitor to do this.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
<lreames@.gmail.com> wrote in message
news:1109791850.594371.167360@.l41g2000cwc.googlegr oups.com...
> How...Why...
> Running SQL 2000 SP3 & Win 2000 Adv Srv.
> I cannot get rid of the Red X that appears in my replication monitor.
> I have run 'sp_MSload_replication_status' to no avail.
> HELP!!!
> How can I get rid of this?
>
> The X appears on the Replication
> Monitor->Publishers->servername->Publication, but there is no problem
> with the Snapshot, log Reader or the Distribution Agent.
> The X appears on the Replication Monitor->Agents->Distribution Agents
> folder, but there is no errors with any of the distribution agents.
> My SQL servers get restarted nightly, but the servers are not
> restarted. Manually restarting the SQL server do not fix this either.
> Any help will be appreciated.
> Larry...
>