Aug 25, 2017 4:20:00 PM by Tim Fritz
If your IT department or development team is like a lot of those I talk with (and have worked in), you have a lot of scripts that do all sorts of things. They are important to you, and that’s why you still use them.
What if you could:
Toad for Oracle has the answer: Toad Script Manager, and you might already have it and not realize it’s there or what it can do for you. Many Toad customers make extensive use of the Script Manager for the reasons listed above. Let’s take a quick tour of this useful Toad feature.
Here’s where you can find the Script Manager in Toad:
Once in Script Manager, you need to choose a connection or multiple connections:
You can add more connections (for those multi-database execution scenarios):
You can add one script at a time to execute. Note in this example the “Add” button presents a browser so you can locate a script file to bring into Script Manager:
And, again, you can combine multiple scripts that you want to execute together. Simply click the “combine” button as shown here…and, you can schedule the scripts to run later if you wish:
You can execute the selected script from the list against your connections you’ve indicated. Here, the script called twoScripts.sql, actually two scripts I’ve combined into one for execution, will run against two of my databases, ORA12C and ORCL:
If you choose to schedule the script to run later, it will run using your Windows Task Scheduler on the local machine. The “Schedule” button presents a wizard allowing you to provide the scheduling details:
Again, Script Manager is a nice, useful feature of Toad for Oracle that makes it so easy to organize scripts and execute them against one or multiple databases.
To find out more, explore the Toad World Toad for Oracle page here: http://www.toadworld.com/products/toad-for-oracle to discover more information about Toad for Oracle, its features like Script Manager. Use the ‘Search’ field at the top of the screen to zero in on the information you are seeking.
Written by Tim Fritz
Quest Software solution architect - database performance management and administration solutions. Former DB2 developer and DBA. IBM Certified Database Administrator – DB2 LUW; Microsoft MCP, Certified Technical Specialist – SQL Server.