Earlier we published an article on quickly creating a sequential number. In this article we'll use that technique to quickly select one random record from a table. We'll even cover assigning a weight to each record. Can someone say banner ads?

With a bit of tweaking I managed to use this method to set up a random data generator for a temperature sensor, based on a table containing outline values, your article has probably saved me a days work there 8)...