BBDW.DIM_MARKETINGSOURCECODE Table Returning Too Many Results

When the following script is run on the Blackbaud Data Warehouse database, the DIM_MARKETINGSOURCECODE table incorrectly returns several rows with the SOURCECODELAYOUT value being ‘No Source Code Layout’. There should only be one row returned.

select * from BBDW.DIM_MARKETINGSOURCECODE
where SOURCECODELAYOUT='No Source Code Layout' 
This occurs as the expected result of a fix for the issue identified in Knowledgebase article 101230.

As of SP9, this is the expected result for data in this state.  

Steps to Duplicate

1.   In SQL Server Management Studio connect to the SQL instance that holds the BBDW for the CRM environment in question.
2.   Find the BBDW database in question.
3.   Run the following query against the BBDW database: 

select * from BBDW.DIM_MARKETINGSOURCECODE
where SOURCECODELAYOUT='No Source Code Layout' 

4.   See that 18000+ rows are returned. Note that in SP6, only 1 row would be returned.

Environment

 SQL Server 2014
 Blackbaud CRM
 4.0
 4.0.168

Was this article helpful?