Do not pass GO

(This is a re-post from my work blog, but I thought I'd post it here for everyone else.)

ANT has a SQL task which allows you to execute SQL statements via JDBC which can be very handy in a number of projects. Currently I'm using this task to execute a directory of generated sql files, each of which defines a stored procedure for MS SQL Server. Here is what a typical one of these stored procdure SQL files looks like:


Jim Priest's Gravatar Good stuff! Added to my Ant wiki:
# Posted By Jim Priest | 7/2/08 9:19 PM
Matt's Gravatar Thank you for this! I had been struggling with the 'go' issue for too long, and your solution did just the trick :D
# Posted By Matt | 6/16/11 2:53 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.