Difference between revisions of "Sales.Individual (table)"
Line 160: | Line 160: | ||
| '''Object Type | | '''Object Type | ||
| '''Dependency Type | | '''Dependency Type | ||
− | + | ||
+ | |- | ||
+ | | [[.Sales_(schema)|.Sales]] | ||
+ | | Schema | ||
+ | | Schema | ||
|- | |- | ||
| [[Sales.IndividualSurveySchemaCollection_(xml_schema_collection)|Sales.IndividualSurveySchemaCollection]] | | [[Sales.IndividualSurveySchemaCollection_(xml_schema_collection)|Sales.IndividualSurveySchemaCollection]] | ||
Line 169: | Line 173: | ||
| Table | | Table | ||
| Update | | Update | ||
+ | | Trigger | ||
+ | | iuIndividual | ||
|- | |- | ||
| [[Sales.Store_(table)|Sales.Store]] | | [[Sales.Store_(table)|Sales.Store]] | ||
| Table | | Table | ||
| Select | | Select | ||
+ | | Trigger | ||
+ | | iuIndividual | ||
|} | |} | ||
Line 181: | Line 189: | ||
| '''Object Type | | '''Object Type | ||
| '''Reference Type | | '''Reference Type | ||
− | + | ||
|- | |- | ||
| [[Sales.vIndividualCustomer_(view)|Sales.vIndividualCustomer]] | | [[Sales.vIndividualCustomer_(view)|Sales.vIndividualCustomer]] | ||
Line 198: | Line 206: | ||
| Table | | Table | ||
| Update | | Update | ||
+ | | Trigger | ||
+ | | iuIndividual | ||
|- | |- | ||
| [[Sales.SalesOrderDetail_(table)|Sales.SalesOrderDetail]] | | [[Sales.SalesOrderDetail_(table)|Sales.SalesOrderDetail]] | ||
| Table | | Table | ||
| Update | | Update | ||
+ | | Trigger | ||
+ | | iduSalesOrderDetail | ||
|- | |- | ||
| [[Sales.Store_(table)|Sales.Store]] | | [[Sales.Store_(table)|Sales.Store]] | ||
| Table | | Table | ||
| Select | | Select | ||
+ | | Trigger | ||
+ | | iStore | ||
|} | |} |
Revision as of 06:24, 30 November 2009
wikibot
Table | Sales.Individual |
Column | Data Type | Nullable | Default | PK | Index |
CustomerID | int | not null | PK_Individual_CustomerID | ||
ContactID | int | not null | |||
Demographics | xml | null | PXML_Individual_DemographicsXMLPATH_Individual_DemographicsXMLPROPERTY_Individual_DemographicsXMLVALUE_Individual_Demographics | ||
ModifiedDate | datetime | not null | (getdate()) |
Relation | Column | Referenced Column |
Person.Contact | ContactID | ContactID |
Sales.Customer | CustomerID | CustomerID |
Triggers | Type |
iuIndividual | ON INSERT UPDATE |
automatically generated
Table | Sales.Individual |
Description | Demographic data about customers that purchase Adventure Works products online. |
Column | Data Type | Nullable | Default | Description / PK / Index |
CustomerID | int | not null | Unique customer identification number. Foreign key to Customer.CustomerID. PK_Individual_CustomerID | |
ContactID | int | not null | Identifies the customer in the Contact table. Foreign key to Contact.ContactID. | |
Demographics | XML | null | Personal information such as hobbies, and income collected from online shoppers. Used for sales analysis. PXML_Individual_DemographicsXMLPATH_Individual_DemographicsXMLPROPERTY_Individual_DemographicsXMLVALUE_Individual_Demographics | |
ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
Relation | Column | Referenced Column |
Person.Contact | ContactID | ContactID |
Sales.Customer | CustomerID | CustomerID |
Triggers | Type |
iuIndividual | ON INSERT UPDATE |
Referenced Object | Object Type | Dependency Type | ||
.Sales | Schema | Schema | ||
Sales.IndividualSurveySchemaCollection | XML Schema Collection | Data Type | ||
Sales.Individual | Table | Update | Trigger | iuIndividual |
Sales.Store | Table | Select | Trigger | iuIndividual |
Referencing Object | Object Type | Reference Type | ||
Sales.vIndividualCustomer | View | Select | ||
Sales.vIndividualDemographics | View | Select | ||
dbo.ufnGetContactInformation | SQL table-valued-function | Select | ||
Sales.Individual | Table | Update | Trigger | iuIndividual |
Sales.SalesOrderDetail | Table | Update | Trigger | iduSalesOrderDetail |
Sales.Store | Table | Select | Trigger | iStore |