This script can be used to fill a primary key column quickly without using a traditional loop or cursor. The interesting part is the "GO n" section which will repeat code within the batch "n" number of times. Be sure to create the TinyTally table first.
Go Unit Tests: Tips from the Trenches
In this article, Michael Sorens describes unit testing for applications written in Go. While focused on Go, many of his recommendations and techniques can be applied to other languages as well.
2018-08-13
2,707 reads