SAP HANA 2.0 XSA:虚拟表(.hdbvirtualtable)-特权

时间:2018-10-31 07:10:15

标签: hana

我找不到有效的示例,说明如何在设计时创建虚拟表。

我的问题是,是否必须通过sql将此特权授予容器所有者,还是将其放在.hdbrole中?

文档:

The container’s object owner (“<container>#OO”) must have the “CREATE VIRTUAL TABLE” privilege on the remote source, for example: “CREATE VIRTUAL TABLE ON REMOTE SOURCE”.

GRANT CREATE VIRTUAL TABLE, DROP ON REMOTE SOURCE "CSP Adap Adapter" TO "FGZYEFPSI0AD0X5N_TBASE_HDI_CONTAINER#OO";

"object_privileges": [ {        
        "name": "TBASE.db.data::vtNPAT",
        "type": "VIRTUAL",
        "privileges": ["SELECT", "CREATE VIRTUAL TABLE", "UPDATE", "DROP", "REFERENCES", "INDEX", "DELETE", "INSERT", "ALTER", "TRIGGER"]
    },

0 个答案:

没有答案