CURRENCYEXCHANGERATEDOWNLOADPROCESSRATE
Stores information pertaining to the currency exchange rates to be downloaded by a currency exchange rate download process parameter set.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
TS |
timestamp |
|
|
Timestamp. |
TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
CURRENCYEXCHANGERATEDOWNLOADPROCESSID |
uniqueidentifier |
|
CURRENCYEXCHANGERATEDOWNLOADPROCESS.ID
|
The currency exchange rate download process parameter set represented. |
FROMCURRENCYID |
uniqueidentifier |
|
CURRENCY.ID
|
The first currency in the pair, the one being converted. |
TOCURRENCYID |
uniqueidentifier |
|
CURRENCY.ID
|
The currency to which the first currency in the pair is being converted. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_CURRENCYEXCHANGERATEDOWNLOADPROCESSRATE_DATEADDED |
DATEADDED |
|
|
yes |
IX_CURRENCYEXCHANGERATEDOWNLOADPROCESSRATE_DATECHANGED |
DATECHANGED |
|
|
|
PK_CURRENCYEXCHANGERATEDOWNLOADPROCESSRATE |
ID |
yes |
yes |
|
UIX_CURRENCYEXCHANGERATEDOWNLOADPROCESSRATE_CURRENCYEXCHANGERATEDOWNLOADPROCESSID_FROMCURRENCYID_TOCURRENCYID |
CURRENCYEXCHANGERATEDOWNLOADPROCESSID, FROMCURRENCYID, TOCURRENCYID |
yes |
|
|
Triggers