Skip to content

AasishKumarSharma/AutoIndexingForPartitionTables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Auto Indexing for Partationed Tables in MSSQL

Rebuild fragmented indexes for selected partitioned tables.

  • Currently, this MSSQL Stored Procedure will rebuild all the indexes of that particular partition of the selected partitioned table whose index fragementation level is above 20%.
  • This phenomenon can be modified by changing the alter command in the autogenerating script.
  • Also, the fragementation level could be redefined as required.
  • Besides, it only requires a nvarchar data type of parameter. That will contain comma separated names of the partitioned tables.

Find more database related stuffs in https://sqltheories.blogspot.com

About

Rebuild fragmented indexes for selected partitioned tables.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages