Difference between revisions of "Sales.SalesPersonQuotaHistory (table)"
Line 68: | Line 68: | ||
| SalesPersonID | | SalesPersonID | ||
|} | |} | ||
− | |||
== automatically generated == | == automatically generated == | ||
Line 90: | Line 89: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | '''Description | + | | '''Description / PK / Index |
− | |||
− | |- | + | |- valign="top" |
| SalesPersonID | | SalesPersonID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | Sales person identification number. Foreign key to SalesPerson.SalesPersonID. | + | | Sales person identification number. Foreign key to SalesPerson.SalesPersonID.PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate |
− | + | |- valign="top" | |
− | |- | ||
| QuotaDate | | QuotaDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | Sales quota date. | + | | Sales quota date.PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate |
− | + | |- valign="top" | |
− | |- | ||
| SalesQuota | | SalesQuota | ||
| money | | money | ||
Line 113: | Line 109: | ||
| | | | ||
| Sales quota amount. | | Sales quota amount. | ||
− | + | |- 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. | + | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.AK_SalesPersonQuotaHistory_rowguid |
− | + | |- valign="top" | |
− | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
Line 127: | Line 121: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
− | |||
|} | |} | ||
Revision as of 00:58, 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 |