Sales.Customer Table

Information

NameCustomer
SchemaSales
Row Count19185
Data Size824 KB
Index Size1176 KB
Reserved Size2336 KB
Unused Size336 KB
Created14.10.2005 1:58:32
Modified14.10.2005 1:59:51

Extended Properties

NameTypeProperty NameValue
CustomerTABLEMS_DescriptionCurrent customer information. Also see the Individual and Store tables.

Columns

PKKeyIdentityNameData TypeAllow NullsCollationReferencesDefaultComputedCompute Expression
   CustomerIDint   
 
 
 
   TerritoryIDint  Sales.SalesTerritory.TerritoryID
 
 
 
   AccountNumbervarchar(10) SQL_Latin1_General_CP1_CI_AS 
 
 
(isnull('AW'+[dbo].[ufnLeadingZeros]([CustomerID]),''))
   CustomerTypenchar(2) SQL_Latin1_General_CP1_CI_AS 
 
 
 
   rowguiduniqueidentifier   
(newid())
 
 
   ModifiedDatedatetime   
(getdate())
 
 

Indexes

NameTypePrimaryUniqueColumns
PK_Customer_CustomerIDClustered  CustomerID
AK_Customer_rowguidNonClustered  rowguid
AK_Customer_AccountNumberNonClustered  AccountNumber
IX_Customer_TerritoryIDNonClustered  TerritoryID

Check Constraints

NameColumnEnabledTrustedExpression
CK_Customer_CustomerTypeCustomerType  (upper([CustomerType])='I' OR upper([CustomerType])='S')

Foreign Key Constraints

NameTypeReferenced Table
FK_Customer_SalesTerritory_TerritoryIDForeign keySales.SalesTerritory

Triggers

NameActivates onInstead OfFor ReplicationEnabledCreatedModified
Sales.uCustomerUPDATE   14.10.2005 1:59:5114.10.2005 1:59:51