Editing Sales.SalesPersonQuotaHistory (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| Sales.SalesPersonQuotaHistory | | Sales.SalesPersonQuotaHistory | ||
− | |- | + | |- |
− | |||
− | |||
|} | |} | ||
− | + | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 17: | Line 15: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''PK |
− | + | | '''Index | |
− | |- | + | |
+ | |- | ||
| SalesPersonID | | SalesPersonID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate |
− | |- | + | | |
+ | |- | ||
| QuotaDate | | QuotaDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate |
− | |- | + | | |
+ | |- | ||
| SalesQuota | | SalesQuota | ||
| money | | money | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| rowguid | | rowguid | ||
| uniqueidentifier | | uniqueidentifier | ||
| not null | | not null | ||
| (newid()) | | (newid()) | ||
− | | | + | | |
− | |- | + | | AK_SalesPersonQuotaHistory_rowguid |
+ | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | | | + | | |
− | | | + | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 93: | Line 62: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- |
| [[Sales.SalesPerson_(table)|Sales.SalesPerson]] | | [[Sales.SalesPerson_(table)|Sales.SalesPerson]] | ||
| SalesPersonID | | SalesPersonID | ||
| SalesPersonID | | SalesPersonID | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== automatically generated == | == automatically generated == | ||
Line 121: | Line 74: | ||
| '''Table | | '''Table | ||
| Sales.SalesPersonQuotaHistory | | Sales.SalesPersonQuotaHistory | ||
− | |- | + | |- |
+ | |||
| '''Description | | '''Description | ||
| Sales performance tracking. | | Sales performance tracking. | ||
|- | |- | ||
+ | |||
|} | |} | ||
Line 141: | Line 96: | ||
| 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" | |- valign="top" | ||
| QuotaDate | | QuotaDate | ||
Line 147: | Line 102: | ||
| not null | | not null | ||
| | | | ||
− | | Sales quota date. | + | | Sales quota date.PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate |
|- valign="top" | |- valign="top" | ||
| SalesQuota | | SalesQuota | ||
Line 153: | Line 108: | ||
| not null | | not null | ||
| | | | ||
− | | Sales quota amount. | + | | Sales quota amount. |
|- valign="top" | |- valign="top" | ||
| rowguid | | rowguid | ||
Line 159: | Line 114: | ||
| 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" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
Line 165: | Line 120: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||
Line 180: | Line 135: | ||
| SalesPersonID | | SalesPersonID | ||
| SalesPersonID | | SalesPersonID | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |