SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Compare the Data of 2 Tables (Improved)


Compare the Data of 2 Tables (Improved)

Author
Message
BCStaley
BCStaley
Forum Newbie
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: General Forum Members
Points: 0 Visits: 1
Comments posted to this topic are about the item Compare the Data of 2 Tables (Improved)



mpv-1060508
mpv-1060508
SSC Rookie
SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)

Group: General Forum Members
Points: 45 Visits: 97
Is there an update to this procedure? The table master.dbo.spt_datatype_info does not exist, or is not visible in 2005.

I get the following error messages:

Msg 208, Level 16, State 1, Line 1
Invalid object name 'master.dbo.spt_datatype_info'.
Msg 7314, Level 16, State 1, Line 1
The OLE DB provider "SQLNCLI" for linked server "MyServer" does not contain the table ""master"."dbo"."spt_datatype_info"". The table either does not exist or the current user does not have permissions on that table.

If no update is available, what table replaces master.dbo.spt_datatype_info?

I need a procedure to compare two tables on different servers where I can pass the table names as parms and receive back a list of the differences. Ideally, it should return the key values and only the data from the columns that are different.

Thanks...
PHSDBA
PHSDBA
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 42
Can this be used over a linked server as well. I have 2 tables on 2 different servers and want to compare them.
PHSDBA
PHSDBA
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 42
mpv-1060508 (4/9/2009)
Is there an update to this procedure? The table master.dbo.spt_datatype_info does not exist, or is not visible in 2005.

I get the following error messages:

Msg 208, Level 16, State 1, Line 1
Invalid object name 'master.dbo.spt_datatype_info'.
Msg 7314, Level 16, State 1, Line 1
The OLE DB provider "SQLNCLI" for linked server "MyServer" does not contain the table ""master"."dbo"."spt_datatype_info"". The table either does not exist or the current user does not have permissions on that table.

If no update is available, what table replaces master.dbo.spt_datatype_info?

I need a procedure to compare two tables on different servers where I can pass the table names as parms and receive back a list of the differences. Ideally, it should return the key values and only the data from the columns that are different.

Thanks...


Was wondering if you ever recieved an answer to this question. i am having the same issue
Thanks
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search