Database reference - AdventureWorks2008

AdventureWorks2008 -  indexes -  [HumanResources].[Shift].[AK_Shift_StartTime_EndTime]

Description

Unique nonclustered index. 

Index properties

namevalue
name[HumanResources].[Shift].[AK_Shift_StartTime_EndTime] 
descriptionnonclustered, unique located on PRIMARY
tableShift 
size (kb)16 
clusteredFalse 
uniqueTrue 
fill factor
filegroupPRIMARY 
ignore duplicate keysFalse 
index key typeNone 
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
StartTime  ascendingFalse  False 
EndTime  ascendingFalse  False 

Dependency graph

ShiftAK_Shift_StartTime_EndTime

Objects that [HumanResources].[Shift].[AK_Shift_StartTime_EndTime] depends on

nameobject typedatabaseserverlevel

Code

CREATE UNIQUE NONCLUSTERED INDEX [AK_Shift_StartTime_EndTime] ON [HumanResources].[Shift] 
(
    [StartTime] ASC,
    [EndTime] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]



Documentation generated by SqlSpec