Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Person StateProvince (table)

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2010/01/09 17:06


wikibot

TablePerson.StateProvince
DescriptionState and province lookup table.

ColumnData TypeNullableDefaultDescription / PK / Index
StateProvinceIDintnot null Primary key for StateProvince records.
PK_StateProvince_StateProvinceID
StateProvinceCodenchar(3)not null ISO standard state or province code.
AK_StateProvince_StateProvinceCode_CountryRegionCode
CountryRegionCodenvarchar(3)not null ISO standard country or region code. Foreign key to CountryRegion.CountryRegionCode.
AK_StateProvince_StateProvinceCode_CountryRegionCode
IsOnlyStateProvinceFlagdbo.Flagnot null((1))0 = StateProvinceCode exists. 1 = StateProvinceCode unavailable, using CountryRegionCode.
Namedbo.Namenot null State or province description.
AK_StateProvince_Name
TerritoryIDintnot null ID of the territory in which the state or province is located. Foreign key to SalesTerritory.SalesTerritoryID.
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_StateProvince_rowguid
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



RelationColumnReferenced Column
Person.CountryRegionCountryRegionCodeCountryRegionCode
Sales.SalesTerritoryTerritoryIDTerritoryID

Detail TableColumnReferencing Column
Person.AddressStateProvinceIDStateProvinceID
Sales.SalesTaxRateStateProvinceIDStateProvinceID

Dependency TypeObject TypeReferenced Object
Data TypeTypedbo.Flag
Data TypeTypedbo.Name

Reference TypeObject TypeReferencing Object
SelectViewHumanResources.vEmployee
SelectViewPerson.vStateProvinceCountryRegion
SelectViewPurchasing.vVendor
SelectViewSales.vIndividualCustomer
SelectViewSales.vSalesPerson
SelectViewSales.vStoreWithDemographics

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.