Originally created by: kAlvaro
What is the problem that needs to be solved (required)?
GO is a command from the SQLCMD utility that's also understood by SQL Server Management Studio. It's very common in SQL Server scripts. However, it isn't a SQL keyword thus HeidiSQL gets a syntax error from the server when it submits the command. So far, it's necessary to edit the script and remove or comment out GO instances.
What is the idea in abstract terms (optional)?
HeidiSQL can recognise the command and act accordingly.
Reference:
GO [count]
GO signals both the end of a batch and the execution of any cached Transact-SQL statements. When specifying a value for count, the cached statements will be executed count times, as a single batch.
http://msdn.microsoft.com/es-es/library/ms162773.aspx#sectionToggle3
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: kAlvaro
English link: http://msdn.microsoft.com/en-us/library/ms162773.aspx#sectionToggle3