I got the answer right but got the intention of the question wrong.
When I thought, can I get that script to run without changing it, my method to achieve this was to run them individually as 2 separate batches by highlighting each batch minus the batch separator..
I obviously missed the point of this question :ermm:
Does it matter? You solved the problem.
Another method: Write a program in your favourite language (C#, C++ ...) that connects to the database, splits the input using notgo, and runs the separated batches.
As all these steps aside are correct, I don't understand the majority of False answers.
See, understand, learn, try, use efficient