Skip to main content
Question

How can I connect to different ORA databases.


perry
Forum|alt.badge.img+2

Hi,

I have a desktopversion 2016 and 2017 withe shared public database connections

I want to connect to 3 oracle databases in different schema's because there are three separate citties. (i.e. DBConn1, DBConn2, DBConn3) The tables are however identical so I made one procedure in a custom transformer.

In the custum transformer multiple SQL Excecuters will select the needed items from different tables.

I like to use a workspacerunner to start the custum transformer.

How can I validate the separate Dataset (DB Conn1 to 3) in order to run my custum transformer for the three citties?

I have published parameters (DBConn1, DBConn2, DBConn3) but I did not managed it to enclose these parameters in the SQLExcecuter parameter (DATABASE/DATASET).

Also I did not manage to sent the parameter value from the workspacerunner to the

custom transformer.

The procedure has to run automatically for all 3 citties so I can't use a manual input as Parameter with Choise.

Do you have any suggestions to solve this problem?

2 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • August 8, 2017

Create a text file with the 3 database connections.

Then use a text reader to read the file and per line in the text file execute the WorkspaceRunner passing the database connection to the WorkspaceRunner as a published parameter.

That way you only need to change the text file if you get a fourth city.


perry
Forum|alt.badge.img+2
  • Author
  • August 9, 2017

Your solution is simple and efficient. Thanks for your quick reply..


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings