Sales.SalesPersonQuotaHistory

Table: 'Sales.SalesPersonQuotaHistory'

5 fields. 73 bytes.

Sales performance tracking.

Field NameData TypeSizeOriginal TypeDefaultNullableDescriptionCheck
SalesPersonIDint   Not nullSales person identification number. Foreign key to SalesPerson.SalesPersonID. 
QuotaDatedatetime   Not nullSales quota date. 
SalesQuotamoney19,4decimal(19,4) Not nullSales quota amount.([SalesQuota]>(0.00))
rowguiduniqueidentifier  newid()Not nullROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. 
ModifiedDatedatetime  getdate()Not nullDate and time the record was last updated. 

Extended Properties

The object has no extended properties.

Primary key for table 'Sales.SalesPersonQuotaHistory'

Primary Key NameField Names
PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDateSalesPersonID, QuotaDate

Foreign keys for table 'Sales.SalesPersonQuotaHistory', 1 item

ForeignPrimaryKey Name
SalesPersonQuotaHistory.SalesPersonIDSalesPerson.SalesPersonIDFK_SalesPersonQuotaHistory_SalesPerson_SalesPersonID

Indexes for table 'Sales.SalesPersonQuotaHistory', 2 items

Index NameDescriptionClusteredUniqueFields
PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDateClustered index created by a primary key constraint.YesYesSalesPersonID, QuotaDate
AK_SalesPersonQuotaHistory_rowguidUnique nonclustered index. Used to support replication samples.NoYesrowguid

Triggers for table 'Sales.SalesPersonQuotaHistory', 1 item

NameDescriptionTypeEnabled
uSalesPersonQuotaHistoryAFTER UPDATE trigger setting the ModifiedDate column in the SalesPersonQuotaHistory table to the current date.after Update Yes

Dependencies for table 'Sales.SalesPersonQuotaHistory', 2 items

Object NameTypeField Name
Sales.CK_SalesPersonQuotaHistory_SalesQuotacheck cnsN/A
Sales.uSalesPersonQuotaHistorytriggerN/A