FIX: CREATE INDEX Aborts with Error 1509 or 632

ID: Q140265


The information in this article applies to:

BUG# NT: 12183 (6.00)

SYMPTOMS

When you attempt to create an index on a table, the command may abort with one of the following two possible errors:

Msg 1509, Level 20, State 3:
Row compare failure

Error: 632, Severity: 20, State: 1 Memmove() was called with a length of %d - maximum allowed length is 2048.

NOTE: This problem only occurs under rare conditions and is not likely to occur with most CREATE INDEX statements.


WORKAROUND

Increase the "sort pages" configuration parameter from the default of 64 to a higher number using the sp_configure system stored procedure. In most cases, increasing this parameter from the default of 64 to 128 will allow the index to be created; however, it can be increased to a maximum of 511 if necessary.

NOTE: Before modifying the number of sort pages, you need to issue the command:

sp_configure 'allow updates', 1

along with a corresponding:
sp_configure 'allow updates', 0

at the end of the process.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.0. For more information, contact your primary support provider.

Additional query words: sql6 windows nt


Keywords          : kbusage SSrvGen kbbug6.00 kbfix6.00.sp3 
Version           : 6.0
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 23, 1999