Editing Sales.SalesTerritory (table)

Jump to: navigation, search

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

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)