Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Person Address (table)

Compare Page Revisions



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


Page Revision: 2010/01/09 17:44


wikibot

TablePerson.Address
DescriptionStreet address information for customers, employees, and vendors.

ColumnData TypeNullableDefaultDescription / PK / Index
AddressIDintnot null Primary key for Address records.
PK_Address_AddressID
AddressLine1nvarchar(60)not null First street address line.
IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode
AddressLine2nvarchar(60)null Second street address line.
IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode
Citynvarchar(30)not null Name of the city.
IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode
StateProvinceIDintnot null Unique identification number for the state or province. Foreign key to StateProvince table.
IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCodeIX_Address_StateProvinceID
PostalCodenvarchar(15)not null Postal code for the street address.
IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_Address_rowguid
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



RelationColumnReferenced Column
Person.StateProvinceStateProvinceIDStateProvinceID

Detail TableColumnReferencing Column
Sales.CustomerAddressAddressIDAddressID
HumanResources.EmployeeAddressAddressIDAddressID
Sales.SalesOrderHeaderAddressIDBillToAddressID
Sales.SalesOrderHeaderAddressIDShipToAddressID
Purchasing.VendorAddressAddressIDAddressID

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

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