Difference between revisions of "Sales.CountryRegionCurrency (table)"
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.CountryRegionCurrency | | Sales.CountryRegionCurrency | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Cross-reference table mapping ISO currency codes to a country or region. | | Cross-reference table mapping ISO currency codes to a country or region. | ||
− | |||
|} | |} | ||
− | |||
=== Columns === | === Columns === | ||
Line 20: | Line 18: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
|- valign="top" | |- valign="top" | ||
| CountryRegionCode | | CountryRegionCode | ||
Line 46: | Line 44: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- valign="top" |
| PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | | PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | ||
| CountryRegionCode, CurrencyCode | | CountryRegionCode, CurrencyCode | ||
Line 57: | Line 55: | ||
| '''Type | | '''Type | ||
| '''Columns | | '''Columns | ||
− | + | ||
− | |- | + | |- valign="top" |
| IX_CountryRegionCurrency_CurrencyCode | | IX_CountryRegionCurrency_CurrencyCode | ||
| | | | ||
Line 70: | Line 68: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- valign="top" |
| [[Person.CountryRegion_(table)|Person.CountryRegion]] | | [[Person.CountryRegion_(table)|Person.CountryRegion]] | ||
| CountryRegionCode | | CountryRegionCode | ||
| CountryRegionCode | | CountryRegionCode | ||
− | |- | + | |- valign="top" |
| [[Sales.Currency_(table)|Sales.Currency]] | | [[Sales.Currency_(table)|Sales.Currency]] | ||
| CurrencyCode | | CurrencyCode | ||
Line 88: | Line 86: | ||
| '''Referenced Object | | '''Referenced Object | ||
− | |- | + | |- valign="top" |
| Schema | | Schema | ||
| Schema | | Schema |
Latest revision as of 00:17, 24 June 2010
Contents
[hide]wikibot[edit]
Table | Sales.CountryRegionCurrency |
Description | Cross-reference table mapping ISO currency codes to a country or region. |
Columns[edit]
Column | Data Type | Nullable | Default | Description |
CountryRegionCode | nvarchar(3) | not null | ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode. | |
CurrencyCode | nchar(3) | not null | ISO standard currency code. Foreign key to Currency.CurrencyCode. | |
ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key[edit]
Primary Key | Columns |
PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | CountryRegionCode, CurrencyCode |
Indexes[edit]
Index | Type | Columns |
IX_CountryRegionCurrency_CurrencyCode | CurrencyCode |
Foreign Keys[edit]
Relation | Column | Referenced Column |
Person.CountryRegion | CountryRegionCode | CountryRegionCode |
Sales.Currency | CurrencyCode | CurrencyCode |
References[edit]
Dependency Type | Object Type | Referenced Object |
Schema | Schema | Sales |
automatically generated[edit]
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 |