gpt4 book ai didi

sql-server - 为什么我收到此错误 `Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission` ?

转载 作者:行者123 更新时间:2023-12-01 09:00:28 29 4
gpt4 key购买 nike

我使用 SQL Server 2008 r2 和 SSAS,我使用 AdventureWorks2008 数据库。

我在 Sql 服务器分析器的 MDX 查询中编写此查询。

SELECT [Measures].[Internet Sales Amount]
FROM [Adventure Works]

我得到这个错误

Executing the query ...

Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission to access the referenced mining model, Adventure Works, or the object does not exist.

Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission to access the referenced mining model, Adventure Works, or the object does not exist.

Execution complete

为什么会出现这个错误?

最佳答案

你最常使用这个查询

SELECT 
[Measures].[Internet Sales Amount] ON COLUMNS
FROM [Adventure Works]

必须在 MDX 查询中定义 COLUMNS。

关于sql-server - 为什么我收到此错误 `Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission` ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18029529/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com