FACT_OPPORTUNITYDESIGNATIONCAMPAIGN

Relates opportunities to campaigns, designations and campaign priorities.

Primary Key

Primary Key Field Type
OPPORTUNITYDESIGNATIONCAMPAIGNFACTID int

Fields

Field Field Type Null Notes Description
OPPORTUNITYDESIGNATIONCAMPAIGNSYSTEMID uniqueidentifier yes dbo.[OPPORTUNITYDESIGNATIONCAMPAIGN].[ID]
OPPORTUNITYFACTID int yes Reference key to the opportunity fact, derived from dbo.[OPPORTUNITYDESIGNATION].[OPPORTUNITYID]
DESIGNATIONDIMID int yes Reference key to the designation dimension, derived from dbo.[OPPORTUNITYDESIGNATION].[DESIGNATIONID]
CAMPAIGNDIMID int yes Reference key to the campaign dimension, derived from dbo.[OPPORTUNITYDESIGNATIONCAMPAIGN].[CAMPAIGNID]
CAMPAIGNPRIORITYDIMID int yes Reference key to the campaign priority dimension, derived from dbo.[OPPORTUNITYDESIGNATIONCAMPAIGN].[NAME]
ISINCLUDED bit yes Flag indicating when data should be included in results.
ETLCONTROLID int yes ID generated through the ETL process
SOURCEDIMID int yes Source system used.

Indexes

Index Name Fields Unique Primary Clustered
IX_FACT_OPPORTUNITYDESIGNATIONCAMPAIGN_CAMPAIGNDIMID CAMPAIGNDIMID
IX_FACT_OPPORTUNITYDESIGNATIONCAMPAIGN_CAMPAIGNPRIORITYDIMID CAMPAIGNPRIORITYDIMID
IX_FACT_OPPORTUNITYDESIGNATIONCAMPAIGN_DESIGNATIONDIMID DESIGNATIONDIMID
IX_FACT_OPPORTUNITYDESIGNATIONCAMPAIGN_OPPORTUNITYFACTID OPPORTUNITYFACTID
PK_FACT_OPPORTUNITYDESIGNATIONCAMPAIGN OPPORTUNITYDESIGNATIONCAMPAIGNFACTID yes yes yes