Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Sales Store (table)

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2010/01/09 17:06


wikibot

TableSales.Store
DescriptionCustomers (resellers) of Adventure Works products.

ColumnData TypeNullableDefaultDescription / PK / Index
CustomerIDintnot null Primary key. Foreign key to Customer.CustomerID.
PK_Store_CustomerID
Namedbo.Namenot null Name of the store.
SalesPersonIDintnull ID of the sales person assigned to the customer. Foreign key to SalesPerson.SalesPersonID.
IX_Store_SalesPersonID
Demographicsxmlnull Demographic informationg about the store such as the number of employees, annual sales and store type.
PXML_Store_Demographics
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_Store_rowguid
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



RelationColumnReferenced Column
Sales.CustomerCustomerIDCustomerID
Sales.SalesPersonSalesPersonIDSalesPersonID

Detail TableColumnReferencing Column
Sales.StoreContactCustomerIDCustomerID

TriggersType
iStoreON INSERT

Dependency TypeObject TypeReferenced ObjectChild TypeChild Object
Data TypeTypedbo.Name
Data TypeXML Schema CollectionSales.StoreSurveySchemaCollection
SelectTableSales.IndividualTriggeriStore
ExecuteProceduredbo.uspLogErrorTriggeriStore
ExecuteProceduredbo.uspPrintErrorTriggeriStore

Reference TypeObject TypeReferencing ObjectChild TypeChild Object
SelectViewSales.vStoreWithDemographics
SelectTableSales.IndividualTriggeriuIndividual

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.