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?
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?