Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Run SQL scripts on different databases

Fallen_KaedeJul 28 2014 — edited Jul 29 2014

Hi there!

At my work, we have many databases on a server. I have to make an application so that the users can run SQL scripts from the application on a chosen database.

So my question can be seperated in 2 sections:

1- Is there a way to let the users run SQL scripts directly from the application?

I am thinking about creating a page showing a list of all the SQL scripts we wanna use and, when clicking on a specific script name in the list, it would ask something like "On which database do you want to run the script?", and then, as the user confirms a database, it would show the script's running results on a different page.

2- Is there a way to let the users choose on which database to run those scripts?

Any tip would help, I'm at the start of the project and am not sure at all about how to accomplish this, or if it is possible at all.

Thank you!

This post has been answered by fac586 on Jul 29 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2014
Added on Jul 28 2014
5 comments
467 views