在 SQL Server 2008 中运行以下查询时,我遇到了以下异常。此问题仅发生在 SQL Server 2008 中。它将在其他 SQL Server 版本(如 2014、2016)中正常执行。
WITH MEMBER
[Customer].[Customer Geography].[Country].&[United States].[West Coast] AS
[Customer].[Customer Geography].[State-Province].&[OR]&[US] +
[Customer].[Customer Geography].[State-Province].&[WA]&[US] +
[Customer].[Customer Geography].[State-Province].&[CA]&[US]
SELECT [Measures].[Internet Order Count] ON 0,
DRILLDOWNLEVEL([Customer].[Customer Geography].[Country].&[United States],,,INCLUDE_CALC_MEMBERS) on 1
FROM [Adventure Works]
查询 (1, 184) 传递给 DRILLDOWNLEVEL MDX 函数的参数过多。不允许超过 3 个参数。
你能请任何人指导我吗?