If you read Itzik Ben-Gan's article "Temporal Histograms," May 2008, InstantDoc ID 98360, and wanted to download Listing 3 and Listing 4 but couldn't because you run SQL Server 2000 instead of SQL Server 2005, you're in luck: Itzik has provided listings that are compatible with SQL Server 2000 and can be used in place of Listing 3 and Listing 4 in "Temporal Histograms." To view these listings, click the Download the Code button at the top of this article page