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.