CURRENCYSET
Stores information pertaining to currency sets.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
The name of the currency set. |
ISAPPUSERDEFAULT |
bit |
|
Default = 0 |
Indicates this currency set is the currency set to use for application users not directly linked to another currency set. |
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 |
BASECURRENCYID |
uniqueidentifier |
|
CURRENCY.ID
|
FK to CURRENCY |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_CURRENCYSET_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_CURRENCYSET_DATEADDED |
DATEADDED |
|
|
yes |
IX_CURRENCYSET_DATECHANGED |
DATECHANGED |
|
|
|
PK_CURRENCYSET |
ID |
yes |
yes |
|
UC_CURRENCYSET_NAME |
NAME |
yes |
|
|
Triggers
Referenced by