FAFNFGLEVELSUMMARY
Primary Key
| Primary Key | Field Type |
|---|---|
| ID | uniqueidentifier |
Fields
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| ISROOT | bit | Default = 0 | ||
| TOTALRAISED | money | Default = 0 | ||
| TOTALDONOR | int | Default = 0 | ||
| TOTALGIFT | int | Default = 0 | ||
| TOTALGROUP | int | Default = 0 | ||
| TOTALCOMMUNICATIONSENT | int | Default = 0 | ||
| TOTALPARTICIPANT | int | Default = 0 | ||
| TOTALGROUPRETAINED | int | Default = 0 | ||
| GROUPRETENTIONRATE | decimal(7, 4) | Default = 0 | ||
| TOTALPARTICIPANTRETAINED | int | Default = 0 | ||
| PARTICIPANTRETENTIONRATE | decimal(7, 4) | Default = 0 | ||
| DATEADDED | datetime | Default = getdate() | ||
| DATECHANGED | datetime | Default = getdate() | ||
| TS | timestamp | |||
| TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| ID | uniqueidentifier | FAFNFGCAMPAIGNLEVEL.ID | ||
| NFGID | uniqueidentifier | yes | FAFNFGCAMPAIGN.ID | |
| CAMPAIGNID | uniqueidentifier | yes | FAFPROGRAM.ID | |
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
| Index Name | Fields | Unique | Primary | Clustered |
|---|---|---|---|---|
| IX_FAFNFGLEVELSUMMARY_DATEADDED | DATEADDED | yes | ||
| IX_FAFNFGLEVELSUMMARY_DATECHANGED | DATECHANGED | |||
| IX_FAFNFGLEVELSUMMARY_NFGID_ISROOT | NFGID, ISROOT | |||
| PK_FAFNFGLEVELSUMMARY | ID | yes | yes |
Triggers
| Trigger Name | Description |
|---|---|
| TR_FAFNFGLEVELSUMMARY_AUDIT_UPDATE | |
| TR_FAFNFGLEVELSUMMARY_AUDIT_DELETE |