Sales.Customer (table)
wikibot
Table | Sales.Customer |
Column | Data Type | Nullable | Default | PK | Index |
CustomerID | int | not null | PK_Customer_CustomerID | ||
TerritoryID | int | null | IX_Customer_TerritoryID | ||
AccountNumber | AK_Customer_AccountNumber | ||||
CustomerType | nchar(0) | not null | |||
rowguid | uniqueidentifier | not null | (newid()) | AK_Customer_rowguid | |
ModifiedDate | datetime | not null | (getdate()) |
Relation | Column | Referenced Column |
Sales.SalesTerritory | TerritoryID | TerritoryID |
Detail Table | Column | Referencing Column |
Sales.CustomerAddress | CustomerID | CustomerID |
Sales.Individual | CustomerID | CustomerID |
Sales.SalesOrderHeader | CustomerID | CustomerID |
Sales.Store | CustomerID | CustomerID |