Monday, April 23, 2007 - Posts

Limit a sql script to only run with SQLCMD turned on

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Limit a sql script to only run with SQLCMD turned on
The new RSS feed is here

I really like SQLCMDso much so that most of my deployment scripts use SQLCMD. Its got some great features such as

:on error exit. Forcing your script to exit when an error occurs.
or
:r <filename> to read the contents of a file

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Limit a sql script to only run with SQLCMD turned on