Results 1 to 4 of 4

Thread: analyze index in Ms SQL

  1. #1
    Join Date
    Jun 2003
    Location
    Israel
    Posts
    17

    analyze index in Ms SQL

    Hello, friends!
    sorry for the stupid question:
    I created a new index on table and I'm looking to a command equal to "Analyze table ", "Compute statistics "in Oracle
    to check if that index is usefull.

    Thank you very much in advance.

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    Check books online

    Use execution plan. (select a query and press CTRL + L)


    DBCC showcontig

    DBCC SHOW_STATISTICS

    DBCC indexdefrag

  3. #3
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    You can use

    UPDATE STATISTICS tablename

    or

    sp_updatestats

    to update stats for all tables in current database.

  4. #4
    Join Date
    Jun 2003
    Location
    Israel
    Posts
    17
    thank you very much friends!!!!

Posting Permissions

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