Hi Team,
I am learning MDS and am working with the great Northwind Database on SQL Server 2012. Speciifcally the Categories table.
I created a MDS Model called Categories with an Entity called Categories and in the Leafmember attributes added CategoryName.
I am expecting to be able to view the CategopryName in MDS explorer once I have gone through the "Get Date to Staging" process.
MDS has created the expected [stg].[CATEGORIES_Leaf]MDS table that I populated with data from Northwind using the data export function. Sample data is below with ImportTyope and ImportStatus_ID columns set to 0.
2 0 0 NULL NULL NULL NULL NULL NULL Beverages
3 0 0 NULL NULL NULL NULL NULL NULL Condiments
I would expect that when I run the udp_CATEGORIES_Leaf sored proc it would push the data from the stg table into the correct MDM tables that would then allow me to view the data in MDS explorer.
Interestingly the original code for the stored proc is below and returns a value of 6. I comment out the sections so that it calls the update stored proc but no data appears.
USE [MDS]
GO
---DECLARE @return_value int
EXEC comment out the @return_value param = [stg].[udp_CATEGORIES_Leaf]
[stg].[udp_CATEGORIES_Leaf]
@VersionName = N'VERSION_1',
@LogFlag = 1,
@Batch_ID = 1
---SELECT 'Return Value' = @return_value
GO
I can't see what is going wrong - there are no error messages in the Error tables.
Any suggestions appreciated.