• another method here:

    http://sqlbump.blogspot.co.uk/2010/06/sum-of-digits-of-number.html

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day