Difference between revisions of "Sales.SalesPersonQuotaHistory (table)"

From dbscript Online Help
Jump to: navigation, search
Line 96: Line 96:
 
| not null
 
| not null
 
|  
 
|  
| Sales person identification number. Foreign key to SalesPerson.SalesPersonID.PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
+
| Sales person identification number. Foreign key to SalesPerson.SalesPersonID.<br />PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
 
|- valign="top"
 
|- valign="top"
 
| QuotaDate
 
| QuotaDate
Line 102: Line 102:
 
| not null
 
| not null
 
|  
 
|  
| Sales quota date.PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
+
| Sales quota date.<br />PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
 
|- valign="top"
 
|- valign="top"
 
| SalesQuota
 
| SalesQuota
Line 108: Line 108:
 
| not null
 
| not null
 
|  
 
|  
| Sales quota amount.
+
| Sales quota amount.<br />
 
|- valign="top"
 
|- valign="top"
 
| rowguid
 
| rowguid
Line 114: Line 114:
 
| not null
 
| not null
 
| (NEWID())
 
| (NEWID())
| ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.AK_SalesPersonQuotaHistory_rowguid
+
| ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.<br />AK_SalesPersonQuotaHistory_rowguid
 
|- valign="top"
 
|- valign="top"
 
| ModifiedDate
 
| ModifiedDate
Line 120: Line 120:
 
| not null
 
| not null
 
| (GETDATE())
 
| (GETDATE())
| Date and time the record was last updated.
+
| Date and time the record was last updated.<br />
 
|}
 
|}
  

Revision as of 01:10, 27 November 2009

wikibot

Table Sales.SalesPersonQuotaHistory


Column Data Type Nullable Default PK Index
SalesPersonID int not null PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
QuotaDate datetime not null PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
SalesQuota money not null
rowguid uniqueidentifier not null (newid()) AK_SalesPersonQuotaHistory_rowguid
ModifiedDate datetime not null (getdate())


Relation Column Referenced Column
Sales.SalesPerson SalesPersonID SalesPersonID

automatically generated

Table Sales.SalesPersonQuotaHistory
Description Sales performance tracking.


Column Data Type Nullable Default Description / PK / Index
SalesPersonID int not null Sales person identification number. Foreign key to SalesPerson.SalesPersonID.
PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
QuotaDate datetime not null Sales quota date.
PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate
SalesQuota money not null Sales quota amount.
rowguid uniqueidentifier not null (NEWID()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_SalesPersonQuotaHistory_rowguid
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Relation Column Referenced Column
Sales.SalesPerson SalesPersonID SalesPersonID