Go with the count argument is great if I just want to execute a batch multiple times. I want to replace coding which is currently using WHILE loop with GO but I need to find out # of times the batch has executed within the batch which is being
executed using GO with the count argument. How does SQL Server keep track # of times a batch executed so far?
View Complete Post