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,296 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

690 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