Solved

SQL server 2000 MAXDATAROW error

Posted on 2004-09-02
7
1,105 Views
Last Modified: 2007-12-19
Hi,
i'm trying to run the following query on a sql database :
delete from mtTBL where theDate='1A'

and i'm getting the following error:
========================================
server MSG 3624,Level 20,State 1, Line 1
Expression: m_SizeRec>0 && M_SizeRec<=MAXDATAROW
SPID : 52
pROCESS id : 756
========================================

database contains around 52 milion records .

thanks in advance
Rovan
0
Comment
Question by:ramoo
[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
  • 2
7 Comments
 
LVL 11

Expert Comment

by:ram2098
ID: 11961240
I think it is due to ISOLATION levels that you are executing the query.

You say, "SET TRANSACTION ISOLATION LEVEL COMMITTED"

and then execute the query.

See the following link for more details.

http://support.microsoft.com/?kbid=827714
0
 
LVL 18

Accepted Solution

by:
ShogunWade earned 25 total points
ID: 11961823
Try running DBCC CHECKTABLE('mtTBL')
0
 
LVL 7

Assisted Solution

by:ChrisFretwell
ChrisFretwell earned 25 total points
ID: 11969133
From what I've read and seen, this message is one of the ones possible when you are trying to add/remove records from a table with a corrupt clustered index.

If so DBCC CHECKDB wont report the error. I'm not sure checktable will or not.
To fix it, you would need to drop and re create the clustered index. Or run
CREATE CLUSTERED INDEX...WITH DROP_EXISTING for your table. This will be slow with that many records, but I dont know you have a choice.

Also, you may want to make sure you're running the most current SP. I dont know of this happening on the most recent SP.

Good luck!
0
 
LVL 18

Expert Comment

by:ShogunWade
ID: 12158470
its a dificult acall this one on what to do with the points.   Ill agree with whatever the moderator thinks.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

730 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