Solved

SQL server 2000 MAXDATAROW error

Posted on 2004-09-02
7
1,088 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now