Skip to Main Content

DevOps, CI/CD and Automation

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!

SQL Scripts & PlSql Scripts Automation

GDCRNDTeamAug 18 2015 — edited Sep 16 2015

All,

Do we have any tool to automate running Sql and PlSql scripts in ORACLE repository of tools. We have various tools available with ORACLE tools stack for these kind of developer utilities, but not sure whether we have any such tool to automate running of scripts in Sqlplus.

Scope is to make sure there is no manual intervention for running scripts and is there a GUI which does this job, from scripts consolidation to running of scripts in respective ORACLE SChemas. Currently we call independent files with @test.sql... one below the other inside a batch file and run the batch file from the command prompt. 

Example of Script File

Spool SqlFile.log

Prompt running A Sql

@a.sql

Prompt running B Sql

@b.sql

Prompt running C Sql

@c.sql

Spool off;

--How the script file is called inside a batch file

Sqlplus Userid/Pwd@ConnString @Script.sql

Would like to know whether others have experienced such situations and how did they handle this, thanks in advance.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 14 2015
Added on Aug 18 2015
1 comment
1,448 views