PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > Re: Run all .sql files (scripts) in project (SQL Server 2005 SP2)
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Run all .sql files (scripts) in project (SQL Server 2005 SP2)

Réponse
 
LinkBack Outils de la discussion
Vieux 04/09/2007, 13h42   #1 (permalink)
xman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Run all .sql files (scripts) in project (SQL Server 2005 SP2)

On Aug 22, 11:24 am, downwitch <downwi...@gmail.com> wrote:
> Hello,
>
> I've run as many keyword combinations searching for this as I can
> think of, but cannot find a simple answer.
>
> The situation: I have a database that is mid-conversion/redevelopment.
> I frequently rebuild my dev copy from the production version, which
> requires a bunch of DDL script, and then adding in all the stored
> procedures necessary to the new version only. Each sp may have changed
> since the last time it was run, so I can't exactly keep them all
> concatenated in a single file or anything like that.
>
> So the only way I can see to execute each and every one of these saved
> script files is to open it up in SSMS and hit F5 for execute. This is
> a silly waste of time, it seems to me, and hardly foolproof. Is there
> not some simple way to run every script in a project? What purpose
> does a project serve, otherwise?
>
> (Worth mentioning that the tool I found herehttp://www.codeproject.com/useritems/SSMSScriptRunner.aspdoes not
> seem to work.)
>
> Thanks in advance.


Hello downwitch,

xSQL Software has just released a free utility, xSQL Script Executor,
that allows you to run multiple T-SQL scripts at once - you can choose
individual scripts or whole folders and run them all. You can choose
to wrap all scripts in one big transaction or not, you can call it
from the command line etc. Check it out at:
http://www.xsqlsoftware.com/Product/...orDetails.aspx

Thanks,
JC
xSQL Software
http://www.xsqlsoftware.com


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h19.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10797 seconds with 9 queries