Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Sales SalesPersonQuotaHistory (table)

Compare Page Revisions



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


Page Revision: 2010/02/11 09:07


wikibot

TableSales.SalesPersonQuotaHistory
DescriptionSales performance tracking.

Columns

ColumnData TypeNullableDefaultDescription
SalesPersonIDintnot null Sales person identification number. Foreign key to SalesPerson.SalesPersonID.
QuotaDatedatetimenot null Sales quota date.
SalesQuotamoneynot null Sales quota amount.
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.

Primary Key

Primary KeyColumns
PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDateSalesPersonID, QuotaDate

Indexes

IndexTypeColumns
AK_SalesPersonQuotaHistory_rowguidUniquerowguid

Check Constraints

Check ConstraintExpressionDescription
CK_SalesPersonQuotaHistory_SalesQuota(SalesQuota>(0.00))Check constraint SalesQuota > (0.00)

Foreign Keys

RelationColumnReferenced Column
Sales.SalesPersonSalesPersonIDSalesPersonID

References

Dependency TypeObject TypeReferenced Object
SchemaSchemaSales

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