Person.StateProvince Table

Information

NameStateProvince
SchemaPerson
Row Count181
Data Size16 KB
Index Size64 KB
Reserved Size80 KB
Unused Size0 KB
Created14.10.2005. 1:58:37
Modified2.7.2009. 10:35:10

Extended Properties

NameTypeProperty NameValue
StateProvinceTABLEMS_DescriptionState and province lookup table.

Columns

PKKeyIdentityNameData TypeAllow NullsCollationReferencesDefaultComputedCompute Expression
   StateProvinceIDint   
 
 
 
   StateProvinceCodenchar(6) SQL_Latin1_General_CP1_CI_AS 
 
 
 
   CountryRegionCodenvarchar(6) SQL_Latin1_General_CP1_CI_ASPerson.CountryRegion.CountryRegionCode
 
 
 
   IsOnlyStateProvinceFlagbit(1)   
((1))
 
 
   Namenvarchar(100) SQL_Latin1_General_CP1_CI_AS 
 
 
 
   TerritoryIDint  Sales.SalesTerritory.TerritoryID
 
 
 
   rowguiduniqueidentifier   
(newid())
 
 
   ModifiedDatedatetime   
(getdate())
 
 

Indexes

NameTypePrimaryUniqueColumns
PK_StateProvince_StateProvinceIDClustered  StateProvinceID
AK_StateProvince_NameNonClustered  Name
AK_StateProvince_StateProvinceCode_CountryRegionCodeNonClustered  StateProvinceCode, CountryRegionCode
AK_StateProvince_rowguidNonClustered  rowguid

Foreign Key Constraints

NameTypeReferenced Table
FK_StateProvince_CountryRegion_CountryRegionCodeForeign keyPerson.CountryRegion
FK_StateProvince_SalesTerritory_TerritoryIDForeign keySales.SalesTerritory

Triggers

NameActivates onInstead OfFor ReplicationEnabledCreatedModified
uStateProvinceUPDATE   14.10.2005. 1:59:562.7.2009. 10:35:10