0

I am trying to delete particular data in my SSAS database, e.g I have data for one month and I want to delete data for one day only within this month, how can I do it using MDX query or c#?

Note: I want to delete the day data from the database and not retrieve the data of the month without this day.

4

1 回答 1

0

如果您的度量值组按天分区,您可以删除该特定分区。我会推荐这个。

否则,无法从度量值组中删除行。您可以 ProcessAdd 插入新行。或者,您可以 ProcessFull 重新加载所有行(如果查询不再返回这一天,这可以有效地删除一天的数据)。但是没有删除行。

此答案假定 SSAS 多维多维数据集。表格的答案是相同的,但我在答案中使用了多维术语。

于 2017-12-19T13:26:01.110 回答