Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 HANA 中,我在名为 A 的模式中创建了一个函数。我正在尝试在过程中使用该函数。在尝试激活程序时,我收到错误消息权限不足:未授权。但是当我在 SQL 控制台中运行时,我得到了结果。请帮助解决这个问题
您似乎将目录对象(您的 DATE_CHECK 函数)与设计时过程混合在一起。为了激活您的设计时对象,存储库用户 _SYS_REPO 需要能够访问引用的对象并授予对它们的访问权限。
所以通过
GRANT EXECUTE ON a.date_check TO _SYS_REPO with grant option
您应该能够解决该问题并在之后激活设计时对象。