Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 GOAL money   Default = 0 The goal for the subpriority in the campaign's base currency.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 ORGANIZATIONAMOUNT money   Default = 0 The amount of the goal in organization currency.
 NAME nvarchar(100) (Computed) dbo.UFN_CAMPAIGNSUBPRIORITYNAMECODE_GETDESCRIPTION(CAMPAIGNSUBPRIORITYNAMECODEID) Returns subpriority name code table description.

Foreign Key Field Type Null Notes Description
 CAMPAIGNPRIORITYID uniqueidentifier   CAMPAIGNPRIORITY.ID The campaign priority the subpriority belongs to.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CURRENCYEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.
 CAMPAIGNSUBPRIORITYNAMECODEID uniqueidentifier   CAMPAIGNSUBPRIORITYNAMECODE.ID Translation for a campaign sub priority's name

Index Name Field(s) Unique Primary Clustered
 IX_CAMPAIGNSUBPRIORITY_CAMPAIGNPRIORITYID CAMPAIGNPRIORITYID      
 IX_CAMPAIGNSUBPRIORITY_CURRENCYEXCHANGERATEID CURRENCYEXCHANGERATEID      
 IX_CAMPAIGNSUBPRIORITY_DATEADDED DATEADDED    
 IX_CAMPAIGNSUBPRIORITY_DATECHANGED DATECHANGED      
 PK_CAMPAIGNSUBPRIORITY ID  

Trigger Name Description
 TR_CAMPAIGNSUBPRIORITY_AUDIT_ETLDELETEDID
 TR_CAMPAIGNSUBPRIORITY_IU_ORGANIZATIONAMOUNT
 TR_CAMPAIGNSUBPRIORITY_AUDIT_UPDATE
 TR_CAMPAIGNSUBPRIORITY_AUDIT_DELETE

Referenced by Field
 BATCHMEMBERSHIPDUESCAMPAIGN CAMPAIGNSUBPRIORITYID
 BATCHREVENUEADDITIONALAPPLICATIONCAMPAIGN CAMPAIGNSUBPRIORITYID
 BATCHREVENUESPLITCAMPAIGN CAMPAIGNSUBPRIORITYID
 DESIGNATIONCAMPAIGN CAMPAIGNSUBPRIORITYID
 EVENTCAMPAIGN CAMPAIGNSUBPRIORITYID
 MEMBERSHIPLEVELCAMPAIGN CAMPAIGNSUBPRIORITYID
 MEMBERSHIPPROGRAMCAMPAIGN CAMPAIGNSUBPRIORITYID
 OPPORTUNITYDESIGNATIONCAMPAIGN CAMPAIGNSUBPRIORITYID
 PLANNEDGIFTADDITIONDESIGNATIONCAMPAIGN CAMPAIGNSUBPRIORITYID
 PLANNEDGIFTDESIGNATIONCAMPAIGN CAMPAIGNSUBPRIORITYID
 REVENUESPLITCAMPAIGN CAMPAIGNSUBPRIORITYID

Entity-Relationship diagram of this table