Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003

    Unanswered: Index not updated.


    We run SQL SERVER 2000 on win2000

    I've a question regarding Index on a table.
    I've a table (1 milj rows) with a extra index ZINDEX1.

    Now lets say I insert 1000 rows in that table.

    Now what will happend if I search on these NEW rows in my table.
    The Index is not updated.


  2. #2
    Join Date
    Nov 2004
    on the wrong server
    Provided Answers: 6
    indices can become freagmented after large inserts. look up DBCC SHOWCONTIG, DBCC REINDEXDB and DBCC INDEXDEFRAG in books online. And here is a little more light reading...
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts