Sales.Individual Table

Information

NameIndividual
SchemaSales
Row Count0
Data Size 
Index Size 
Reserved Size 
Unused Size 
Created29.3.2010. 21:58:18
Modified29.3.2010. 21:58:56

Extended Properties

NameTypeProperty NameValue
IndividualTABLEMS_DescriptionDemographic data about customers that purchase Adventure Works products online.

Columns

PKKeyIdentityNameData TypeAllow NullsCollationReferencesDefaultComputedCompute Expression
   CustomerIDint  Sales.Customer.CustomerID
 
 
 
   ContactIDint  Person.Contact.ContactID
 
 
 
   Demographicsxml   
 
 
 
   ModifiedDatedatetime   
(getdate())
 
 

Indexes

NameTypePrimaryUniqueColumns
PK_Individual_CustomerIDClustered  CustomerID

Foreign Key Constraints

NameTypeReferenced Table
FK_Individual_Contact_ContactIDForeign keyPerson.Contact
FK_Individual_Customer_CustomerIDForeign keySales.Customer

Triggers

NameActivates onInstead OfFor ReplicationEnabledCreatedModified
iuIndividualINSERT, UPDATE   29.3.2010. 21:58:5629.3.2010. 21:58:56

SQL Script

CREATE TABLE [Sales].[Individual] (
    [CustomerID] int NOT NULL,
    [ContactID] int NOT NULL,
    [Demographics] xml NULL,
    [ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);