Editing Sales.SalesTerritory (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.SalesTerritory | | Sales.SalesTerritory | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Sales territory lookup table. | | Sales territory lookup table. | ||
+ | |- | ||
|} | |} | ||
+ | |||
=== Columns === | === Columns === | ||
Line 18: | Line 20: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
|- valign="top" | |- valign="top" | ||
| TerritoryID | | TerritoryID | ||
Line 86: | Line 88: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- |
| PK_SalesTerritory_TerritoryID | | PK_SalesTerritory_TerritoryID | ||
| TerritoryID | | TerritoryID | ||
Line 97: | Line 99: | ||
| '''Type | | '''Type | ||
| '''Columns | | '''Columns | ||
− | + | ||
− | |- | + | |- |
| AK_SalesTerritory_Name | | AK_SalesTerritory_Name | ||
| Unique | | Unique | ||
| Name | | Name | ||
− | |- | + | |- |
| AK_SalesTerritory_rowguid | | AK_SalesTerritory_rowguid | ||
| Unique | | Unique | ||
Line 114: | Line 116: | ||
| '''Expression | | '''Expression | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- |
| CK_SalesTerritory_CostLastYear | | CK_SalesTerritory_CostLastYear | ||
| ([CostLastYear]>=(0.00)) | | ([CostLastYear]>=(0.00)) | ||
| Check constraint [CostLastYear] >= (0.00) | | Check constraint [CostLastYear] >= (0.00) | ||
− | |- | + | |- |
| CK_SalesTerritory_CostYTD | | CK_SalesTerritory_CostYTD | ||
| ([CostYTD]>=(0.00)) | | ([CostYTD]>=(0.00)) | ||
| Check constraint [CostYTD] >= (0.00) | | Check constraint [CostYTD] >= (0.00) | ||
− | |- | + | |- |
| CK_SalesTerritory_SalesLastYear | | CK_SalesTerritory_SalesLastYear | ||
| ([SalesLastYear]>=(0.00)) | | ([SalesLastYear]>=(0.00)) | ||
| Check constraint [SalesLastYear] >= (0.00) | | Check constraint [SalesLastYear] >= (0.00) | ||
− | |- | + | |- |
| CK_SalesTerritory_SalesYTD | | CK_SalesTerritory_SalesYTD | ||
| ([SalesYTD]>=(0.00)) | | ([SalesYTD]>=(0.00)) | ||
Line 139: | Line 141: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[Sales.Customer_(table)|Sales.Customer]] | | [[Sales.Customer_(table)|Sales.Customer]] | ||
| TerritoryID | | TerritoryID | ||
| TerritoryID | | TerritoryID | ||
− | |- | + | |- |
| [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]] | | [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]] | ||
| TerritoryID | | TerritoryID | ||
| TerritoryID | | TerritoryID | ||
− | |- | + | |- |
| [[Sales.SalesPerson_(table)|Sales.SalesPerson]] | | [[Sales.SalesPerson_(table)|Sales.SalesPerson]] | ||
| TerritoryID | | TerritoryID | ||
| TerritoryID | | TerritoryID | ||
− | |- | + | |- |
| [[Sales.SalesTerritoryHistory_(table)|Sales.SalesTerritoryHistory]] | | [[Sales.SalesTerritoryHistory_(table)|Sales.SalesTerritoryHistory]] | ||
| TerritoryID | | TerritoryID | ||
| TerritoryID | | TerritoryID | ||
− | |- | + | |- |
| [[Person.StateProvince_(table)|Person.StateProvince]] | | [[Person.StateProvince_(table)|Person.StateProvince]] | ||
| TerritoryID | | TerritoryID | ||
Line 169: | Line 171: | ||
| '''Referenced Object | | '''Referenced Object | ||
− | |- | + | |- |
| Data Type | | Data Type | ||
| Type | | Type | ||
| [[dbo.Name_(type)|dbo.Name]] | | [[dbo.Name_(type)|dbo.Name]] | ||
− | |- | + | |- |
| Schema | | Schema | ||
| Schema | | Schema | ||
Line 191: | Line 193: | ||
| '''Child Object | | '''Child Object | ||
− | |- | + | |- |
| Select | | Select | ||
| View | | View | ||
Line 198: | Line 200: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Select | | Select | ||
| View | | View | ||
Line 205: | Line 207: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Update | | Update | ||
| Table | | Table |