Solved

Linked server from SQL Server 2008 R2 64 bit to SQL Server 2000 32 bit is failing on updated statement

Posted on 2012-04-11
6
2,252 Views
Last Modified: 2012-04-22
linked server problem when I run update statement from SQL Server 2008 R2 64 bit to SQL Server 2000 32 bit. It returns error given below;

Msg 682, Level 22, State 148, Line 1 Internal error. Buffer provided to read column value is too small. Run DBCC CHECKDB to check for any corruption.

I have tried every thing and have created sp_tables_info_rowset_64 stored procedure in master database of SQL Server 2000. It enabled select and insert into the SQL Server 2000 database tables but when I try to Update records on SQL Server 2000 database tables above error comes up.

Any comments and suggestions are appreciated.

Thanks.
0
Comment
Question by:ezkhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 40

Expert Comment

by:lcohan
ID: 37834902
0
 
LVL 40

Expert Comment

by:lcohan
ID: 37834923
Can you try to copy your SQL 2008 record set data from SQL 2008 to the SQL 2000 in a "staging" table by using INSERT then run the UPDATE at SQL 2000 side in a stored proc by using both these tables - staging and destination - that are in SQL 2000?
0
 

Author Comment

by:ezkhan
ID: 37845174
Hi,

I have figured out the solution. To update or insert statement with multiple joins involved in it across linked servers from SQL Server 2008 R2 64 bit to SQL Server 2000 32 bit requires the installation of service pack 3 or 4 on SQL Server 2000 machine. Once it is installed then under windows authentication or under SQL Server authentication with administrative rights user needs to run INSTCAT.SQL script.

For a default instance
osql -E -S <LinkedServerName> -i <Location>\instcat.sql



For a named instance
osql -E -S <LinkedServerName>\<InstanceName> -i <Location>\instcat.sql


Microsoft Reference:
http://support.microsoft.com/kb/906954/

Thanks.
0
 

Accepted Solution

by:
ezkhan earned 0 total points
ID: 37853325
I've requested that this question be closed as follows:

Accepted answer: 0 points for ezkhan's comment #37845174

for the following reason:

Hi,<br /><br />I have figured out the solution. To update or insert statement with multiple joins involved in it across linked servers from SQL Server 2008 R2 64 bit to SQL Server 2000 32 bit requires the installation of service pack 3 or 4 on SQL Server 2000 machine. Once it is installed then under windows authentication or under SQL Server authentication with administrative rights user needs to run INSTCAT.SQL script.<br /><br />For a default instance<br />osql -E -S &lt;LinkedServerName&gt; -i &lt;Location&gt;\instcat.sql<br /><br /><br /><br />For a named instance<br />osql -E -S &lt;LinkedServerName&gt;\&lt;Instan<wbr />ceName&gt; -i &lt;Location&gt;\instcat.sql<br /><br /><br />Microsoft Reference:<br /><a href="http://support.microsoft.com/kb/906954/" target="_blank">http://support.microsoft.c<wbr />om/kb/9069<wbr />54/</a><br /><br />Thanks for your answers and comments.
0
 

Author Comment

by:ezkhan
ID: 37853326
Why 0 points are being awarded????
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question