问题:编写能够截取[Product].[SKU]成员最后6位数字的存储过程,并用MDX调用该存储过程以显示[Product].[SKU]所有成员的最后六位数字。
          public Set ReturnLast6Digit(Set set)
        {
            SetBuilder returnSet = new SetBuilder();
         
            foreach (Tuple t in set.Tuples)
            {
                //设想在这里对t做处理
                returnSet.Add(t);
            }
            return returnSet.ToSet();
        }
        我在网上找到adomd可以用mdx访问数据仓库,但是这里没有办法操作Tuple里面的内容,从而得出最后6位数字。因为没有使用过.net,所以不太清楚。 ps:在mdx中调用存储过程的返回值只能是Set类型吗?Tuple里面的内容又不可变,我想返回字符串,mdx中的select又不能接受。快疯了……