Hi
Take a look at this link:
http://www.sqlservercentral.com/articles/Tally+Table/72993/
Andy
==========================================================================================================================
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila. Mitch Ratcliffe