Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Oracle (http://www.go4expert.com/forums/oracle-forum/)
-   -   Executing multiple SQL scripts in a batch (http://www.go4expert.com/forums/executing-multiple-sql-scripts-batch-t24703/)

sbh 24Jan2011 11:38

Executing multiple SQL scripts in a batch
 
Hi All,

I need your help in executing multiple scripts together. I found several discussions but could not find an appropriate one.

I have around hundred(s) of SQL scripts in Development database. These scripts are meant to create whole schema (including table, db objects, DBA scripts and all). Now I have to install or create same schema in other global databases. For example

CRT_TAB1.SQL
CRT_TAB2.SQL
...
...
CRT_TAB98.SQL
CRT_PROC1.SQL
...
...
CRT_PROC30.SQL
CRT_PKG_SPEC1.SQL
CRT_PKS_BODY1.SQL
...
...and so on

One option is to create a master script and include all the scripts, which is quite tedious.
Is there any other way to create Scripts Package or Batch file or something, which can be handly in executing all the scripts in other databases.

I searched a few like Script Manager in TOAD, but don't have much hands on on it. Request you to please suggest a solution on this.


All times are GMT +5.5. The time now is 03:33.