Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Index Compression #260

Open
pvcardoso opened this issue Nov 18, 2021 · 0 comments
Open

Error Index Compression #260

pvcardoso opened this issue Nov 18, 2021 · 0 comments

Comments

@pvcardoso
Copy link

Hi!

Some issue running on SQL Server, follow inormation:
Executing AdaptiveIndexDefrag v1.6.7 on Microsoft SQL Server 2005 - 9.00.5324.00 (X64)
Aug 24 2012 18:28:47
Copyright (c) 1988-2005 Microsoft Corporation
Enterprise Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)

Tryed Debug mode and found those two messages:
Message 1:
ALTER INDEX [ix_xxxxxxxxxxxxxxxxxx] ON [xxxxxxxxxxxxxxxxxx].[dbo].[xxxxxxxxx] REBUILD WITH (DATA_COMPRESSION = , FILLFACTOR = 90, SORT_IN_TEMPDB = OFF);
Error 102 has occurred executing this command. Message: Incorrect syntax near ','. (Line Number: 1)

Message 2:
Error 911 has occurred while determining row modification counter. Message: Could not locate entry in sysdatabases for database '[xxxxxxxxxxxxxx]'. No entry found with that name. Make sure that the name is entered correctly. (Line Number: 1)

For workaround on Message 1, I replaced line number 1941 / SET @rebuildcommand = @rebuildcommand + N'DATA_COMPRESSION = ' + @currCompression + ', ') with: SET @rebuildcommand = @rebuildcommand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant