Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

Return values from MDS staging stored procedure

$
0
0

I am learning about MDS 2012 and how to load data from stg table to mdm entities. I loaded data in stg table with appropriate values and executed code below

USE [MDS]
GO

DECLARE @return_value int

EXEC @return_value = [stg].[udp_TestTable_Leaf]
  @VersionName = N'VERSION_1',
  @LogFlag = 0,
  @BatchTag = N'test'

SELECT 'Return Value' = @return_value

GO

This returns value 6 and does nothing. I am unable to load this data. The only way I can start batch from UI. This does not give me any error codes that are listed athttp://msdn.microsoft.com/en-us/library/ff487022.aspx

When I add BatchID to above code, it gives me return value of 7 and message that I cannot provide BatchTag and BatchID at the same time. I am wondering what are the return values?


Rajendra


Viewing all articles
Browse latest Browse all 1311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>