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

Using a schema mapping or schema synonym for SQL Views

$
0
0

We have a scenario where a schema has different names in DEV, QA and Prod. This schema, which happens to be an SLT target, contains tables to be used in SQL Views.

 

Is there any way to establish a synonym or a mapping for this schema name? For example can I define a synonym/map for ECC to ED1/EQ1/EP1 depending on the system? Then all SQL view definitions would be able to be defined using the virtual schema name "ECC".

 

I know schema map capability exists, but I only see it being usable for Analytic/Calc Views and not SQL views or any SQL Script procedure. There is a Public Synonym feature, but it doesn't seem to apply on schema names.

 

What are my options to model this?


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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