TRIBUTEEXTENSION
Extension to TRIBUTE table
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
ISTRIBUTEANONYMOUS |
bit |
|
Default = 0 |
I would like to donation to remain anonymous |
MESSAGETOACKNOWLEDGEE |
nvarchar(1000) |
|
Default = '' |
Message to aknowledgee |
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. |
ACKNOWLEDGEEFIRSTNAME |
nvarchar(200) |
|
Default = '' |
Acknowledgee First Name |
ACKNOWLEDGEELASTNAME |
nvarchar(200) |
|
Default = '' |
Acknowledgee Last Name |
ACKNOWLEDGEEEMAILADDRESS |
UDT_EMAILADDRESS |
|
Default = '' |
Acknowledgee Email Address |
TRIBUTEEFIRSTNAME |
nvarchar(200) |
|
Default = '' |
Tributee First Name |
TRIBUTEELASTNAME |
nvarchar(200) |
|
Default = '' |
Tributee Last Name |
TRIBUTEECITY |
nvarchar(100) |
|
Default = '' |
Tributee City |
TRIBUTEEPOSTCODE |
nvarchar(24) |
|
Default = '' |
Tributee Post Code |
TRIBUTEEADDRESSBLOCK |
nvarchar(300) |
|
Default = '' |
Tributee Address Block |
TRIBUTEEEMAILADDRESS |
UDT_EMAILADDRESS |
|
Default = '' |
Tributee Email Address |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
TRIBUTEID |
uniqueidentifier |
|
TRIBUTE.LOCALID
|
Foreign Key to TRIBUTE table |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
FROMCONSTITUENTID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
Foreign Key to CONSTITUENT table |
TRIBUTEESTATEID |
uniqueidentifier |
yes |
STATE.LOCALID
|
State name for the Contact Tributee |
TRIBUTEECOUNTRYID |
uniqueidentifier |
yes |
COUNTRY.LOCALID
|
Country name for the Contact Tributee |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_TRIBUTEEXTENSION_DATEADDED |
DATEADDED |
|
|
yes |
IX_TRIBUTEEXTENSION_DATECHANGED |
DATECHANGED |
|
|
|
IX_TRIBUTEEXTENSION_FROMCONSTITUENTID |
FROMCONSTITUENTID |
|
|
|
PK_TRIBUTEEXTENSION |
ID |
yes |
yes |
|
UIX_TRIBUTEEXTENSION_TRIBUTEID |
TRIBUTEID |
yes |
|
|
Triggers