Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

parameterized database connection in pentaho CDE

$
0
0
I have scenario where i have one table in one database which consist all the database names,so in drop-down container i am displaying all this database name, now in another query i want to pass this database name as a parameter and want to retrieve data from the respected table.
Note : database structure is same for every client, but security reasons we have created different databases
Query one : using this i will get all the database names.
SELECT tenant from kscommon.organization;
Query two : tenant will be parameter for next query
select location from ${tenant}.organization;
but i am getting error(Error processing component)
SO can somebody guide me on this?

Viewing all articles
Browse latest Browse all 2893

Trending Articles



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