on 06-29-2019 9:08 AM
Which is the system table name to find out the metadata of HANA Calculation views?
Calculation view is created by using many Tables .
I need to know those Table names ,Column names and Calculation view names
Table name , Column names ,HANA Calculation View Names
Query to get tables consumed by the view:
select
DEPENDENT_OBJECT_NAME,
BASE_SCHEMA_NAME,
BASE_OBJECT_NAME
from
"SYS"."OBJECT_DEPENDENCIES"
WHERE
"DEPENDENCY_TYPE" = 1
AND "DEPENDENT_SCHEMA_NAME" ='_SYS_BIC'
AND "BASE_OBJECT_TYPE" ='TABLE'
AND "DEPENDENT_OBJECT_TYPE" = 'VIEW'
Query to get column names in output of the view:
select
"PROPERTY_ID",
"CATALOG_NAME",
"SCHEMA_NAME",
"CUBE_NAME",
"PROPERTY_NAME",
"PROPERTY_CAPTION"
from
"_SYS_BI"."BIMC_PROPERTIES"
where
"SCHEMA_NAME" = '_SYS_BIC'
AND PROPERTY_TYPE = '1'
Query to get view names:
select
CATALOG_NAME,
SCHEMA_NAME,
CUBE_NAME,
DESCRIPTION
from
"_SYS_BI"."BIMC_ALL_CUBES"
You can combine all these tables to get single query with information which you need. Notice that you will not be able to link output column with the table from which it is taken.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.