Database reference - AdventureWorks

AdventureWorks -  indexes -  [Production].[ProductSubcategory].[PK_ProductSubcategory_ProductSubcategoryID]

Description

Clustered index created by a primary key constraint. 

Index properties

namevalue
name[Production].[ProductSubcategory].[PK_ProductSubcategory_ProductSubcategoryID] 
descriptionclustered, unique, primary key located on PRIMARY
tableProductSubcategory 
size (kb)
clusteredTrue 
uniqueTrue 
fill factor
filegroupPRIMARY 
ignore duplicate keysFalse 
index key typeDriPrimaryKey 
disallowPageLocksFalse 
disallowRowLocksFalse 
full text keyFalse 
on computedFalse 
on tableTrue 
system namedFalse 
no automatic recomputationFalse 
pad indexFalse 
sort in tempdbFalse 
compact large objectsTrue 
disabledFalse 
partitionedFalse 
xml indexFalse 
max degree of parallelism-1 
online index operationFalse 
parent xml index 
secondary xml index typeNone 
partition scheme 

Columns

namesort ordercomputedincluded
ProductSubcategoryID  ascendingFalse  False 

Dependency graph

ProductSubcategoryPK_ProductSubcategory_ProductSubcategoryID

Objects that [Production].[ProductSubcategory].[PK_ProductSubcategory_ProductSubcategoryID] depends on

nameobject typelevel

Code

ALTER TABLE [Production].[ProductSubcategory] ADD  CONSTRAINT [PK_ProductSubcategory_ProductSubcategoryID] PRIMARY KEY CLUSTERED 
(
    [ProductSubcategoryID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]

Powered by Yoyodyne © 1971