Feature requests - checkbox for "use"

Single-click script execution on multiple SQL Servers.

Feature requests - checkbox for "use"

Postby Petro » Fri May 16, 2008 3:39 pm

Hi all :)

updates are sometimes for more than one database. in oure case, we often make separated scripts (files) to make sure the script runs on the correct db. so we use a "use". but multiscript does not change back the db-context, witch is not the db that is shown in multiscript.

for us, the need for "use" is imported, because we do not use multiscript to update productive dbs (yet).

- option for "check for 'use' and mark at import"
- checkbox on each script for "set back the db before run the script"

thanks for thinking about

see ya
Posts: 10
Joined: Tue Nov 15, 2005 8:48 am

Postby HJoyce » Mon May 19, 2008 12:39 pm

I have logged this as a feature request to be considered in the next release. Thanks for the feedback.

Posts: 149
Joined: Mon Oct 10, 2005 8:48 am

Postby shadowbob » Tue Jul 22, 2008 5:05 pm

A feature similar to this would probably be considered my "#1" productivity booster. Basically, I'd love an option to "Override USE statements in script" so that if any USE statements happen to be in the script, they go away and the script actually runs on the database which Multi Script intends it to. This would literally shave minutes off of every single work day for me. Thanks a bunch!
Posts: 52
Joined: Fri Feb 02, 2007 12:12 am

Postby Roust_m » Wed Apr 29, 2009 6:36 am

But what if you have something like this:
[do some schema changes here]
USE msdb
[create some jobs here]

if you ignore all USE statements your script may fail.

I would rather have an ability to do automatic replacements like this:
USE {database name}
[do some schema changes here]
USE msdb
[create some jobs here]
So {database name} would automaticaly be replaces to the database the script runs against.
Posts: 4
Joined: Tue Apr 28, 2009 8:46 am

Postby Colin Millerchip » Fri May 01, 2009 8:31 am


Thanks for the suggestion, I've logged this request and we'll consider it for the next release.

Best regards,

Colin Millerchip
Posts: 72
Joined: Wed Oct 31, 2007 4:31 pm
Location: Cambridge, UK

Return to SQL Multi Script 1

Who is online

Users browsing this forum: No registered users and 0 guests