Browse by Tags

All Tags » TSQL » Tools (RSS)

Limit a sql script to only run with SQLCMD turned on

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 There is one downside...
Posted by simonsabin | with no comments