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

From dbscript Online Help
Jump to: navigation, search
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.Currency
 
| Sales.Currency
Line 8: Line 8:
 
| '''Description
 
| '''Description
 
| Lookup table containing standard ISO currencies.
 
| Lookup table containing standard ISO currencies.
|-
 
 
|}
 
|}
 
  
 
=== Columns ===
 
=== Columns ===
Line 20: Line 18:
 
| '''Default
 
| '''Default
 
| '''Description
 
| '''Description
+
 
 
|- valign="top"
 
|- valign="top"
 
| CurrencyCode
 
| CurrencyCode
Line 46: Line 44:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|-
+
|- valign="top"
 
| PK_Currency_CurrencyCode
 
| PK_Currency_CurrencyCode
 
| CurrencyCode
 
| CurrencyCode
Line 57: Line 55:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
+
 
|-
+
|- valign="top"
 
| AK_Currency_Name
 
| AK_Currency_Name
 
| Unique
 
| Unique
Line 70: Line 68:
 
| '''Column
 
| '''Column
 
| '''Referencing Column
 
| '''Referencing Column
+
 
|-
+
|- valign="top"
 
| [[Sales.CountryRegionCurrency_(table)|Sales.CountryRegionCurrency]]
 
| [[Sales.CountryRegionCurrency_(table)|Sales.CountryRegionCurrency]]
 
| CurrencyCode
 
| CurrencyCode
 
| CurrencyCode
 
| CurrencyCode
|-
+
|- valign="top"
 
| [[Sales.CurrencyRate_(table)|Sales.CurrencyRate]]
 
| [[Sales.CurrencyRate_(table)|Sales.CurrencyRate]]
 
| CurrencyCode
 
| CurrencyCode
 
| FromCurrencyCode
 
| FromCurrencyCode
|-
+
|- valign="top"
 
| [[Sales.CurrencyRate_(table)|Sales.CurrencyRate]]
 
| [[Sales.CurrencyRate_(table)|Sales.CurrencyRate]]
 
| CurrencyCode
 
| CurrencyCode
Line 92: Line 90:
 
| '''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

Revision as of 23:17, 23 June 2010

wikibot

Table Sales.Currency
Description Lookup table containing standard ISO currencies.

Columns

Column Data Type Nullable Default Description
CurrencyCode nchar(3) not null The ISO code for the Currency.
Name dbo.Name not null Currency name.
ModifiedDate datetime not null (getdate()) Date and time the record was last updated.

Primary Key

Primary Key Columns
PK_Currency_CurrencyCode CurrencyCode

Indexes

Index Type Columns
AK_Currency_Name Unique Name

Detail Tables

Detail Table Column Referencing Column
Sales.CountryRegionCurrency CurrencyCode CurrencyCode
Sales.CurrencyRate CurrencyCode FromCurrencyCode
Sales.CurrencyRate CurrencyCode ToCurrencyCode

References

Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Sales


wikivalues

Table Values Sales.Currency


CurrencyCode Name
AFA Afghani
DZD Algerian Dinar
ARS Argentine Peso
AMD Armenian Dram
AWG Aruban Guilder
AUD Australian Dollar
AZM Azerbaijanian Manat
BSD Bahamian Dollar
BHD Bahraini Dinar
THB Baht
PAB Balboa
BBD Barbados Dollar
BEF Belgian Franc
VEB Bolivar
BOB Boliviano
BRL Brazilian Real
BND Brunei Dollar
BGN Bulgarian Lev
CAD Canadian Dollar
GHC Cedi
XOF CFA Franc BCEAO
CLP Chilean Peso
COP Colombian Peso
CRC Costa Rican Colon
HRK Croatian Kuna
CYP Cyprus Pound
CZK Czech Koruna
DKK Danish Krone
DEM Deutsche Mark
DOP Dominican Peso
VND Dong
GRD Drachma
EGP Egyptian Pound
SVC El Salvador Colon
AED Emirati Dirham
EUR EURO
FJD Fiji Dollar
HUF Forint
FRF French Franc
PYG Guarani
HKD Hong Kong Dollar
ISK Iceland Krona
INR Indian Rupee
IEP Irish Pound
ITL Italian Lira
JMD Jamaican Dollar
JOD Jordanian Dinar
KES Kenyan Shilling
EEK Kroon
KWD Kuwaiti Dinar
AOA Kwanza
LVL Latvian Lats
LBP Lebanese Pound
ALL Lek
ROL Leu
LTL Lithuanian Litas
MYR Malaysian Ringgit
MTL Maltese Lira
FIM Markka
MUR Mauritius Rupee
MXN Mexican Peso
MAD Moroccan Dirham
NGN Naira
NAD Namibia Dollar
NPR Nepalese Rupee
ANG Netherlands Antillian Guilder
NLG Netherlands Guilder
ILS New Israeli Shekel
TWD New Taiwan Dollar
NZD New Zealand Dollar
BTN Ngultrum
NOK Norwegian Krone
PEN Nuevo Sol
OMR Omani Rial
PKR Pakistan Rupee
PHP Philippine Peso
PLZ Polish Zloty(old)
PTE Portuguese Escudo
GTQ Quetzal
ZAR Rand
MVR Rufiyaa
IDR Rupiah
RUB Russian Ruble
RUR Russian Ruble(old)
SAR Saudi Riyal
ATS Shilling
SGD Singapore Dollar
SKK Slovak Koruna
ESP Spanish Peseta
LKR Sri Lankan Rupee
SEK Swedish Krona
CHF Swiss Franc
BDT Taka
SIT Tolar
TTD Trinidad and Tobago Dollar
TND Tunisian Dinar
TRL Turkish Lira
GBP United Kingdom Pound
UYU Uruguayan Peso
USD US Dollar
KRW Won
JPY Yen
CNY Yuan Renminbi
ZWD Zimbabwe Dollar
PLN Zloty

automatically generated

Table Sales.Currency
Description Lookup table containing standard ISO currencies.


Column Data Type Nullable Default Description / PK / Index
CurrencyCode nchar(3) not null The ISO code for the Currency.
PK_Currency_CurrencyCode
Name Name not null Currency name.
AK_Currency_Name
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Detail Table Column Referencing Column
Sales.CountryRegionCurrency CurrencyCode CurrencyCode
Sales.CurrencyRate CurrencyCode FromCurrencyCode
Sales.CurrencyRate CurrencyCode ToCurrencyCode


Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Sales