Difference between revisions of "Sales.CountryRegionCurrency (table)"
| Line 86: | Line 86: | ||
| not null | | not null | ||
| | | | ||
| − | | ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode.PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | + | | ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode.<br />PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode |
|- valign="top" | |- valign="top" | ||
| CurrencyCode | | CurrencyCode | ||
| Line 92: | Line 92: | ||
| not null | | not null | ||
| | | | ||
| − | | ISO standard currency code. Foreign key to Currency.CurrencyCode.PK_CountryRegionCurrency_CountryRegionCode_CurrencyCodeIX_CountryRegionCurrency_CurrencyCode | + | | ISO standard currency code. Foreign key to Currency.CurrencyCode.<br />PK_CountryRegionCurrency_CountryRegionCode_CurrencyCodeIX_CountryRegionCurrency_CurrencyCode |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
| Line 98: | Line 98: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
| − | | Date and time the record was last updated. | + | | Date and time the record was last updated.<br /> |
|} | |} | ||
Revision as of 00:09, 27 November 2009
wikibot
| Table | Sales.CountryRegionCurrency |
| Column | Data Type | Nullable | Default | PK | Index |
| CountryRegionCode | nvarchar(3) | not null | PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | ||
| CurrencyCode | nchar(3) | not null | PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | IX_CountryRegionCurrency_CurrencyCode | |
| ModifiedDate | datetime | not null | (getdate()) |
| 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 |