for those that are looking for an easy way to execute and test your
SQL scripts, you may be interested in having a look at SQL Server
Runner application. This is an open source application that allows
users to execute/test scripts. Its friendly user interface permits the
user to identify errors and fix them easily. A project file can be
created and the command line version can be used to automate the
execution of the scripts.
The application can be found at: http://www.codeplex.com/sqlrunner
Thanks.