SAP HANA Permissions and Ownership: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „This article explains how to analyze the ownership of objects in a SAP HANA database. This article is based on SAP HANA 2.0 SPS04 == System Views for Ownersh…“) |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
This article | This article contains various informations about the permissions and ownership concepts in SAP HANA. | ||
This article is based on SAP HANA 2.0 SPS04 | This article is based on SAP HANA 2.0 SPS04 | ||
== System Views for Ownership Information == | == How to Find Out the Current Session User == | ||
SELECT SESSION_USER FROM DUMMY; | |||
== How to Find Out the Owner of an Object == | |||
This explains how to analyze the ownership of objects in a SAP HANA database. | |||
=== System Views for Ownership Information === | |||
There are three system views providing information about that depending on the object you are looking for: | There are three system views providing information about that depending on the object you are looking for: | ||
Zeile 10: | Zeile 18: | ||
* SCHEMAS | * SCHEMAS | ||
* ROLES | * ROLES | ||
=== Remote Source === | === Remote Source === | ||
SELECT * FROM OWNERSHIP | |||
WHERE "OBJECT_TYPE" = 'SOURCE'; | |||
[[Category:SAP]] | [[Category:SAP]] | ||
[[Category:HANA]] | [[Category:HANA]] |
Aktuelle Version vom 6. Juli 2021, 11:55 Uhr
This article contains various informations about the permissions and ownership concepts in SAP HANA.
This article is based on SAP HANA 2.0 SPS04
How to Find Out the Current Session User
SELECT SESSION_USER FROM DUMMY;
How to Find Out the Owner of an Object
This explains how to analyze the ownership of objects in a SAP HANA database.
System Views for Ownership Information
There are three system views providing information about that depending on the object you are looking for:
- OWNERSHIP
- SCHEMAS
- ROLES
Remote Source
SELECT * FROM OWNERSHIP WHERE "OBJECT_TYPE" = 'SOURCE';