T-SQL Rant
Time to rant a little about 'GO'
I have a SQL script (created from enterprise manager) that I wanted to call from a windows form to create a database on a local instance of SQL server. After about 30 minutes of trying to get it to work I figured out that the problem was 'GO'. GO only works for apps such as query analyzer and enterprise manager.
I was reading the file in a steamreader, and then trying to run that code using the data application blocks executenonquery.
To get around this I just pass the file in question to an OSQL command, and let it run outside of my application, while my application waits for it to finishing running before allowing the user to complete the next step.
The little frustrations you face every day developing, I love figuring things like this out, makes the day much more interesting.