Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Finding Database Name of a Connection

$
0
0

Hi Geeks,

 

I need to find out the Database Name used in my Connection and then have it displayed in my report.
For e.g. Database Name of Query1 is like 'Qualifier.Owner.Table.Column'; I need to get the Qualifier(this is the same Qualifier details that we see in IDT).

 

I did try using =Connection([Query 1])(in webi) and I also have the edit connection privilege; but I see only the below details:


DB Layer: "JDBC". DB Type: "Generic JDBC datasource".

 

Even @Variable('DBUSER') in IDT is of no use as it provides UserName of login not the database name.

 

I'm interested to get the database name only, not the above info, is there any other way.  Even if we can somehow get the 'JDBC URL' string, I can take the database name from this string and my purpose will be solved.


Is there any function either in WEBI or IDT that I can use to achieve it?
If not, pls provide any aliter way.

Thanks in advance for your help.

 

 

Regards
NK


Viewing all articles
Browse latest Browse all 1291

Trending Articles



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