Hello, you are not logged in.  Login or sign up
Community >> Blogs
Search Toad World Search

Do you have a topic that you'd like discussed?  We'd love to hear from you.  Send us your idea for a blog topic.

Toad Executing Scripts against Multiple Databases (Part 2)
 
Location: Blogs Bert Scalzo's Blog    
 Bert Wednesday, August 06, 2008 5:11 AM
Last week’s blog was the first in a series about how to make Toad run scripts or commands against multiple databases at once. Lots of people did not know that there are multiple ways in Toad to do this. This week I’ll highlight the second method of running scripts against databases using the “Toad Project Manager”
 
You simply switch to Project Manager’s Connection tab as shown below, “multi-select” the connections you want to execute something against, and then via the right-hand-mouse context menu choose either a “Quick Script” from the Script Manager, or a Named SQL. That’s all there is to it. 
 
You’ll then see output from both databases as shown below (i.e. two script editor windows with the script executed against each database). For those not yet familiar with the Toad Script Manager, review last week’s blog. Also look at the second screen snapshot below of the Script Manager’s screen and Toad’s main menu toolbar icon. The items on the Script Manager screen checked as “On File Menu” are then shown both under the toolbar icon and Project Manager’s right-hand-context menu (both shown). So remember – in the weeks to come I’m going to demonstrate other ways to execute SQL scripts against multiple databases at once, so please tune in


Project Manager Screen – Connections Tab:
 


Script Manager Screen – Set Quick Script:
 
 
 
Permalink |  Trackback

Comments (2)   Add Comment
By EdKlinger on Thursday, August 07, 2008 6:59 AM
Good stuff Bert! One thing Toad is great for is skinning a cat many ways. This stuff is good to know because I have always done it the old fashion way, run script, change connection, run script, change connection, run script... and so on.
Ed
[TeamT]

By bscalzo on Friday, August 08, 2008 1:26 PM
Thanks - it's good to see someone besides Hill Billy Toad (Jeff) is reading these. I was a wee bit worried - you've now asuaged those fears :)


Comment:
Add Comment   Cancel 
Search Blog Entries
 
Copyright 2008 by Quest Software  | Terms Of Use | Privacy Statement | Contact Us