DBCC Rebuild does the same job.What is the difference?

  • If I do dbcc rebuild for an index and if I drop and recreate the index?

    DBCC Rebuild does the same job.What is the difference?

    Thanks

  • side note on DBCC DBREINDEX in books online :

    Important:

    This feature will be removed in the next version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ALTER INDEX instead.

    I didn't test dbcc dbreindex if it would do the operation "with online = on" for indexes created with that option.

    I altered my reindex sprocs and scripts to use the new "alter index" after I read this note in BOL

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply