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

From dbscript Online Help
Jump to: navigation, search
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | Sales.SalesPersonQuotaHistory |- |} {| border="1" cellpadding="5" cellspacin...)
 
Line 52: Line 52:
 
| (getdate())
 
| (getdate())
 
|  
 
|  
 +
|
 +
|}
 +
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Relation
 +
| '''Column
 +
| '''Referenced Column
 +
 +
|-
 +
| [[Sales.SalesPerson_(table)|Sales.SalesPerson]]
 +
| SalesPersonID
 +
| SalesPersonID
 +
|}
 +
 +
== automatically generated ==
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|-
 +
| '''Table
 +
| Sales.SalesPersonQuotaHistory
 +
|-
 +
 +
| '''Description
 +
| Sales performance tracking.
 +
|-
 +
 +
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''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.
 
|  
 
|  
 
|}
 
|}

Revision as of 00:27, 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