Difference between revisions of "Sales.SalesPersonQuotaHistory (table)"
Line 5: | Line 5: | ||
| '''Table | | '''Table | ||
| Sales.SalesPersonQuotaHistory | | Sales.SalesPersonQuotaHistory | ||
+ | |- valign="top" | ||
+ | | '''Description | ||
+ | | Sales performance tracking. | ||
|- | |- | ||
|} | |} | ||
Line 15: | Line 18: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | '''PK | + | | '''Description / PK / Index |
− | |||
− | |- | + | |- valign="top" |
| SalesPersonID | | SalesPersonID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate | + | | Sales person identification number. Foreign key to SalesPerson.SalesPersonID.<br />PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate |
− | + | |- valign="top" | |
− | |- | ||
| QuotaDate | | QuotaDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate | + | | Sales quota date.<br />PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate |
− | + | |- valign="top" | |
− | |- | ||
| SalesQuota | | SalesQuota | ||
| money | | money | ||
| not null | | not null | ||
| | | | ||
− | | | + | | Sales quota amount.<br /> |
− | + | |- valign="top" | |
− | |- | ||
| rowguid | | rowguid | ||
| uniqueidentifier | | uniqueidentifier | ||
| not null | | not null | ||
| (newid()) | | (newid()) | ||
− | | | + | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.<br />AK_SalesPersonQuotaHistory_rowguid |
− | + | |- valign="top" | |
− | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | | | + | | Date and time the record was last updated.<br /> |
− | |||
|} | |} | ||
Line 68: | Line 65: | ||
| SalesPersonID | | SalesPersonID | ||
|} | |} | ||
+ | |||
+ | |||
+ | |||
== automatically generated == | == automatically generated == | ||
Revision as of 23:55, 28 December 2009
wikibot
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 |
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 |
Dependency Type | Object Type | Referenced Object |
Schema | Schema | Sales |