Editing Sales.SalesTerritoryHistory (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 151: | Line 151: | ||
| not null | | not null | ||
| | | | ||
− | | Primary key for SalesTerritoryHistory records. | + | | Primary key for SalesTerritoryHistory records.PK_SalesTerritoryHistory_SalesPersonID_StartDate_TerritoryID |
|- valign="top" | |- valign="top" | ||
| TerritoryID | | TerritoryID | ||
Line 157: | Line 157: | ||
| not null | | not null | ||
| | | | ||
− | | Territory identification number. Foreign key to SalesTerritory.SalesTerritoryID. | + | | Territory identification number. Foreign key to SalesTerritory.SalesTerritoryID.PK_SalesTerritoryHistory_SalesPersonID_StartDate_TerritoryID |
|- valign="top" | |- valign="top" | ||
| StartDate | | StartDate | ||
Line 163: | Line 163: | ||
| not null | | not null | ||
| | | | ||
− | | Date the sales representive started work in the territory. | + | | Date the sales representive started work in the territory.PK_SalesTerritoryHistory_SalesPersonID_StartDate_TerritoryID |
|- valign="top" | |- valign="top" | ||
| EndDate | | EndDate | ||
Line 169: | Line 169: | ||
| null | | null | ||
| | | | ||
− | | Date the sales representative left work in the territory. | + | | Date the sales representative left work in the territory. |
|- valign="top" | |- valign="top" | ||
| rowguid | | rowguid | ||
Line 175: | Line 175: | ||
| 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_SalesTerritoryHistory_rowguid |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
Line 181: | Line 181: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||