Possible Duplicate:
When should I use semicolons in SQL Server?
When we are writing a SQL script in T-SQL, should we end each statement with a semi-colon? Does semi-colon work like ‘GO’ keyword? As of now, I see that it doesn’t really matter, but I would like to know which is the best practice?
It’s good to get into the habit now because CTE/WITH and MERGE need it, as well as some Service broker stuff as mentioned in the other question. Of course, you could use
;WITH cTE AS ...C# etc monkeys have been doing it for years.
It won’t work with GO because it isn’t a keyword. It’s a directive for SSMS and other tools to break a larger script into batches.