sql server - Rebuild Index in SQL Only On One Table -


looking create sql query rebuilds indexes in sql on 1 table within database. can point me in right direction. earlier suggested ola hallengren sql maintenance, think robust i'm after.

there's difference between reorganize , rebuild. see this blog post details.

if want rebuild, , want indexes on given table, command (straight official docs npe pointed at):

alter index on myschema.mytable rebuild 

Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -