Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Sales SalesTerritoryHistory (table)

Compare Page Revisions



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


Page Revision: 2010/01/09 17:49


wikibot

TableSales.SalesTerritoryHistory
DescriptionSales representative transfers to other sales territories.

ColumnData TypeNullableDefaultDescription / PK / Index
SalesPersonIDintnot null Primary key for SalesTerritoryHistory records.
PK_SalesTerritoryHistory_SalesPersonID_StartDate_TerritoryID
TerritoryIDintnot null Territory identification number. Foreign key to SalesTerritory.SalesTerritoryID.
PK_SalesTerritoryHistory_SalesPersonID_StartDate_TerritoryID
StartDatedatetimenot null Date the sales representive started work in the territory.
PK_SalesTerritoryHistory_SalesPersonID_StartDate_TerritoryID
EndDatedatetimenull Date the sales representative left work in the territory.
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_SalesTerritoryHistory_rowguid
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



RelationColumnReferenced Column
Sales.SalesPersonSalesPersonIDSalesPersonID
Sales.SalesTerritoryTerritoryIDTerritoryID

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