Difference between revisions of "Sales.CountryRegionCurrency (table)"
| Line 18: | Line 18: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description |
|- valign="top" | |- valign="top" | ||
| Line 25: | Line 25: | ||
| not null | | not null | ||
| | | | ||
| − | | ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode. | + | | ISO code for countries and regions. Foreign key to CountryRegion.CountryRegionCode. |
|- valign="top" | |- valign="top" | ||
| CurrencyCode | | CurrencyCode | ||
| Line 31: | Line 31: | ||
| not null | | not null | ||
| | | | ||
| − | | ISO standard currency code. Foreign key to Currency.CurrencyCode. | + | | ISO standard currency code. Foreign key to Currency.CurrencyCode. |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
| Line 37: | Line 37: | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
| − | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Primary Key | ||
| + | | '''Columns | ||
| + | |- | ||
| + | | PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | ||
| + | | CountryRegionCode, CurrencyCode | ||
| + | |} | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Index | ||
| + | | '''Type | ||
| + | | '''Columns | ||
| + | |||
| + | |- | ||
| + | | IX_CountryRegionCurrency_CurrencyCode | ||
| + | | | ||
| + | | CurrencyCode | ||
| + | |} | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
Revision as of 22:36, 2 February 2010
wikibot
| Table | Sales.CountryRegionCurrency |
| Description | Cross-reference table mapping ISO currency codes to a country or region. |
| 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 | Columns |
| PK_CountryRegionCurrency_CountryRegionCode_CurrencyCode | CountryRegionCode, CurrencyCode |
| Index | Type | Columns |
| IX_CountryRegionCurrency_CurrencyCode | CurrencyCode |
| 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 |