Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Sales CustomerAddress (table)

Compare Page Revisions



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


Page Revision: 2010/01/09 17:02


wikibot

TableSales.CustomerAddress
DescriptionCross-reference table mapping customers to their address(es).

ColumnData TypeNullableDefaultDescription / PK / Index
CustomerIDintnot null Primary key. Foreign key to Customer.CustomerID.
PK_CustomerAddress_CustomerID_AddressID
AddressIDintnot null Primary key. Foreign key to Address.AddressID.
PK_CustomerAddress_CustomerID_AddressID
AddressTypeIDintnot null Address type. Foreign key to AddressType.AddressTypeID.
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_CustomerAddress_rowguid
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



RelationColumnReferenced Column
Person.AddressAddressIDAddressID
Person.AddressTypeAddressTypeIDAddressTypeID
Sales.CustomerCustomerIDCustomerID

Reference TypeObject TypeReferencing Object
SelectViewSales.vIndividualCustomer
SelectViewSales.vStoreWithDemographics

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