Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error when updating

Posted on 2014-04-09
6
Medium Priority
?
187 Views
Last Modified: 2014-04-12
Getting the following

Internal error. Buffer provided to read column value is too small. Run DBCC CHECKDB to check for any corruption.

When updating a table between 2 servers/databases.

Can't find a solution.

Any ideas?
0
Comment
Question by:JElster
6 Comments
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 39988482
Try ou some of below

1. Rebuild Indexex
2.update package 2 for SP2
3. parse the SQL statement the old fashioned way
Refer for more details
http://www.sqlservercentral.com/Forums/Topic287524-149-1.aspx
0
 
LVL 1

Author Comment

by:JElster
ID: 39988504
What does parse the sql statement the oldfashion way mean.
I rebuilt the indexes.. still same error
0
 
LVL 70

Expert Comment

by:Scott Pletcher
ID: 39988825
Did you run "DBCC CHECKDB"?  What were the results?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

by:JElster
ID: 39988903
What am I looking for

CHECKDB found 0 allocation errors and 0 consistency errors in database
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 39990438
Can you elaborate on your system and post the relevant code that is triggering the error?
0
 
LVL 70

Accepted Solution

by:
Scott Pletcher earned 2000 total points
ID: 39992216
Hmm, interesting.

I suggest flushing the procedure/statement cache for that db, since there may be an obsolete object definition being used somewhere.

You'll need to get the database_id for that db:

DBCC FLUSHPROCINDB(<database_id>);


Also, I'd refresh all views in the db -- it won't hurt, and it might, with some luck, help:

EXEC sp_refreshview 'viewname'
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Screencast - Getting to Know the Pipeline

783 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