Can anyone help me with an Exectue SQL Task and MDX query?
The issue I am facing is that when I try to assign the result from an MDX query inside of the Execute SQL Task I get the error msg below.
The MDX query is below:
WITH
MEMBER [Measures].[ParameterCaption]AS [Time].[Rec Crt Dt].CURRENTMEMBER.MEMBER_CAPTIONSELECT
{[Measures].[ParameterCaption]} ONCOLUMNS,[Time].[Rec Crt Dt].
LASTCHILDONROWSFROM
[Usage]The results are:
ParameterCaption
2012-12-17 2012-12-17
If I do not return a resultset the task runs without error. However, when I try to return a results set I get the error msg below:
[Execute SQL Task] Error: An error occurred while assigning a value to variable "OBJ_pct_usage_reporting": "Result binding by name "[Measures].[ParameterCaption]" is not supported for this connection type. ".
I am assign my result row as [Measures].[ParameterCaption] and I am using an ADO.Net connection