Database reference - AdventureWorks2008

AdventureWorks2008 -  indexes -  [Person].[CountryRegion].[PK_CountryRegion_CountryRegionCode]

Description

Clustered index created by a primary key constraint. 

Index properties

namevalue
name[Person].[CountryRegion].[PK_CountryRegion_CountryRegionCode] 
descriptionclustered, unique, primary key located on PRIMARY
tableCountryRegion 
size (kb)16 
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
CountryRegionCode  ascendingFalse  False 

Dependency graph

CountryRegionPK_CountryRegion_CountryRegionCode

Objects that [Person].[CountryRegion].[PK_CountryRegion_CountryRegionCode] depends on

nameobject typedatabaseserverlevel

Code

ALTER TABLE [Person].[CountryRegion] ADD  CONSTRAINT [PK_CountryRegion_CountryRegionCode] PRIMARY KEY CLUSTERED 
(
    [CountryRegionCode] 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]



Documentation generated by SqlSpec