Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
rajender
Starting Member
13 Posts |
Posted - 2005-08-11 : 01:39:17
|
| HiWhere do i can find the type of a particular index i.e whether it is a Unique index or Clusttered index or combination of both also if it is unique index whether it ignores duplicates or not. I tried Indexes collection of SQLDMO as well as the system tables i.e. sysindexes,sysindexkeys and sysobjects. There is no info about the types in system tables and SQL DMO object returns a long value but if a index is a combination of unique,clusttered and ignore duplicates then the return value not matches with any of the enum type value.Also do anybody know where can i find good articles/tutorials/books on SQL-DMO.Thanks in advance.Rajender Kr. |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-08-11 : 01:50:47
|
| Run thissp_helpindex 'tableName'and also look for information_schema.TABLE_CONSTRAINTS tableMadhivananFailing to plan is Planning to fail |
 |
|
|
rajender
Starting Member
13 Posts |
Posted - 2005-08-11 : 02:00:08
|
| Thanks Madhivanan |
 |
|
|
|
|
|