Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Get all tables from a schema that a user has access to

$
0
0

Hi,

 

So I would like to get all tables from a schema. What I found on the SCN:

SELECT TABLE_NAME AS "Table" FROM  M_CS_TABLES WHERE SCHEMA_NAME = 'your schema name';

Now I would like to extend this to the security concept.

 

So if I have tables

A1

B2

C3

 

and User1 has Access to tables A1 and C3.

 

If User1 would run the query, he would only get A1 and C3 as a result, not B2 though.

 

Is that even possible? Any idea of a workaround?


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>