Sales.Individual

Table: 'Sales.Individual'

4 fields. 24 bytes.

Demographic data about customers that purchase Adventure Works products online.

Field NameData TypeSizeOriginal TypeDefaultNullableDescriptionCheck
CustomerIDint   Not nullUnique customer identification number. Foreign key to Customer.CustomerID. 
ContactIDint   Not nullIdentifies the customer in the Contact table. Foreign key to Contact.ContactID. 
Demographicsxml   NullPersonal information such as hobbies, and income collected from online shoppers. Used for sales analysis. 
ModifiedDatedatetime  getdate()Not nullDate and time the record was last updated. 

Extended Properties

The object has no extended properties.

Primary key for table 'Sales.Individual'

Primary Key NameField Name
PK_Individual_CustomerIDCustomerID

Foreign keys for table 'Sales.Individual', 2 items

ForeignPrimaryKey Name
Individual.ContactIDContact.ContactIDFK_Individual_Contact_ContactID
Individual.CustomerIDCustomer.CustomerIDFK_Individual_Customer_CustomerID

Indexes for table 'Sales.Individual', 1 item

Index NameDescriptionClusteredUniqueFields
PK_Individual_CustomerIDClustered index created by a primary key constraint.YesYesCustomerID

Triggers for table 'Sales.Individual', 1 item

NameDescriptionTypeEnabled
iuIndividualAFTER INSERT, UPDATE trigger inserting Individual only if the Customer does not exist in the Store table and setting the ModifiedDate column in the Individual table to the current date.after Insert Update Yes

Dependencies for table 'Sales.Individual', 6 items

Object NameTypeField Name
dbo.ufnGetContactInformationtable functionN/A
Sales.iduSalesOrderDetailtriggerN/A
Sales.iStoretriggerN/A
Sales.iuIndividualtriggerN/A
Sales.vIndividualCustomerviewN/A
Sales.vIndividualDemographicsviewN/A