Results 1 to 3 of 3

Thread: Recreating Indexes Dynamically

  1. #1
    Join Date
    Apr 2003
    Posts
    8

    Recreating Indexes Dynamically

    How to get all the index properties like unique, clustered of an index.

    I need to recreate all the indexes in a table dynamically
    1) need to get the list of indexes
    2) drop them
    3) change some properties and recreate the indexes, to do this I need to know the columns, uniqueness, clusteredness in step 1 above. How can I get to that?

    In oracle we can depend on tables like index_columns, index_constraints....

    thx

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Try sp_helpindex.

  3. #3
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    Check books online for sysindexes system table.

Posting Permissions

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