If you enter a number after the GO command, then the statement or batch preceding is executed that many times. This can be useful for creating test data, among other things.
Use Go Command to Execute Statement Multiple Times
Want to learn more about SSMS? Check out
this Pluralsight course.
Use SqlSmash to write maintainable SQL scripts, understand code faster and navigate around easily in SSMS.