Difference between revisions of "Sales.CountryRegionCurrency (table)"

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| Sales.CountryRegionCurrency
 
| Sales.CountryRegionCurrency
 +
|- valign="top"
 +
| '''Description
 +
| Cross-reference table mapping ISO currency codes to a country or region.
 
|-
 
|-
 
|}
 
|}
Line 15: Line 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description / PK / Index
| '''Index
 
 
 
|-
+
|- valign="top"
 
| CountryRegionCode
 
| CountryRegionCode
 
| nvarchar(3)
 
| nvarchar(3)
 
| not null
 
| not null
 
|  
 
|  
| PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode
+
| ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode.<br />PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode
|
+
|- valign="top"
|-
 
 
| CurrencyCode
 
| CurrencyCode
 
| nchar(3)
 
| nchar(3)
 
| not null
 
| not null
 
|  
 
|  
| PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode
+
| ISO standard currency code. Foreign key to Currency.CurrencyCode.<br />PK_CountryRegionCurrency_CountryRegionCode_CurrencyCodeIX_CountryRegionCurrency_CurrencyCode
| IX_CountryRegionCurrency_CurrencyCode
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date and time the record was last updated.<br />
|
 
 
|}
 
|}
  
Line 58: Line 57:
 
| CurrencyCode
 
| CurrencyCode
 
|}
 
|}
 +
 +
 +
 
== automatically generated ==
 
== automatically generated ==
  

Revision as of 23:54, 28 December 2009

wikibot

Table Sales.CountryRegionCurrency
Description Cross-reference table mapping ISO currency codes to a country or region.


Column Data Type Nullable Default Description / PK / Index
CountryRegionCode nvarchar(3) not null ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode.
PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode
CurrencyCode nchar(3) not null ISO standard currency code. Foreign key to Currency.CurrencyCode.
PK_CountryRegionCurrency_CountryRegionCode_CurrencyCodeIX_CountryRegionCurrency_CurrencyCode
ModifiedDate datetime not null (getdate()) Date and time the record was last updated.


Relation Column Referenced Column
Person.CountryRegion CountryRegionCode CountryRegionCode
Sales.Currency CurrencyCode CurrencyCode


automatically generated

Table Sales.CountryRegionCurrency
Description Cross-reference table mapping ISO currency codes to a country or region.


Column Data Type Nullable Default Description / PK / Index
CountryRegionCode nvarchar(3) not null ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode.
PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode
CurrencyCode nchar(3) not null ISO standard currency code. Foreign key to Currency.CurrencyCode.
PK_CountryRegionCurrency_CountryRegionCode_CurrencyCodeIX_CountryRegionCurrency_CurrencyCode
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Relation Column Referenced Column
Person.CountryRegion CountryRegionCode CountryRegionCode
Sales.Currency CurrencyCode CurrencyCode


Dependency Type Object Type Referenced Object
Schema Schema Sales