Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 USERID nvarchar(100)   Default = '' The default lookup ID for the campaign.
 NAME nvarchar(100)   Default = '' The name of the campaign.
 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.
 DESCRIPTION nvarchar(300)   Default = '' A description of the campaign.
 STARTDATE date The date the campaign began.
 ENDDATE date The date the campaign ended.
 SEQUENCE int   Default = 0 Used by the hierarchy.
 HIERARCHYPATH hierarchyid  
 ISACTIVE bit   Default = 1 Is the campaign active?

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CAMPAIGNTYPECODEID uniqueidentifier CAMPAIGNTYPECODE.ID The type of the campaign.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this campaign.

Index Name Field(s) Unique Primary Clustered
 IX_CAMPAIGN_BASECURRENCYID BASECURRENCYID      
 IX_CAMPAIGN_DATEADDED DATEADDED    
 IX_CAMPAIGN_DATECHANGED DATECHANGED      
 PK_CAMPAIGN ID  
 UC_CAMPAIGN_HIERARCHYPATH HIERARCHYPATH    
 UC_CAMPAIGN_USERID USERID    

Trigger Name Description
 TR_CAMPAIGN_AUDIT_ETLDELETEDID
 TR_CAMPAIGN_INSERT_BASECURRENCYID
 TR_CAMPAIGN_AUDIT_UPDATE
 TR_CAMPAIGN_AUDIT_DELETE

Referenced by Field
 BATCHMEMBERSHIPDUESCAMPAIGN CAMPAIGNID
 BATCHREVENUEADDITIONALAPPLICATIONCAMPAIGN CAMPAIGNID
 BATCHREVENUESPLITCAMPAIGN CAMPAIGNID
 CAMPAIGNATTACHMENT CAMPAIGNID
 CAMPAIGNFUNDRAISER CAMPAIGNID
 CAMPAIGNGOAL CAMPAIGNID
 CAMPAIGNHIERARCHYGOAL CAMPAIGNID
 CAMPAIGNMEDIALINK CAMPAIGNID
 CAMPAIGNNOTE CAMPAIGNID
 CAMPAIGNPRIORITY CAMPAIGNID
 CAMPAIGNSITE CAMPAIGNID
 CAMPAIGNTEAM CAMPAIGNID
 DESIGNATIONCAMPAIGN CAMPAIGNID
 EVENTCAMPAIGN CAMPAIGNID
 GIFTAIDDISQUALIFIEDBYCAMPAIGN ID
 MEMBERSHIPLEVELCAMPAIGN CAMPAIGNID
 MEMBERSHIPPROGRAMCAMPAIGN CAMPAIGNID
 NAMINGOPPORTUNITY CAMPAIGNID
 OPPORTUNITYCAMPAIGN CAMPAIGNID
 OPPORTUNITYDESIGNATIONCAMPAIGN CAMPAIGNID
 PLANNEDGIFTADDITIONDESIGNATIONCAMPAIGN CAMPAIGNID
 PLANNEDGIFTDESIGNATIONCAMPAIGN CAMPAIGNID
 REVENUESPLITCAMPAIGN CAMPAIGNID

Entity-Relationship diagram of this table (BATCHMEMBERSHIPDUESCAMPAIGN-MEMBERSHIPPROGRAMCAMPAIGN)
Entity-Relationship diagram of this table (NAMINGOPPORTUNITY-REVENUESPLITCAMPAIGN)