Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


SQL server 2000 MAXDATAROW error

Posted on 2004-09-02
Medium Priority
Last Modified: 2007-12-19
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
Question by:ramoo
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
LVL 11

Expert Comment

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


and then execute the query.

See the following link for more details.

LVL 18

Accepted Solution

ShogunWade earned 100 total points
ID: 11961823
Try running DBCC CHECKTABLE('mtTBL')

Assisted Solution

ChrisFretwell earned 100 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!
LVL 18

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

618 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