• Try casting to bigint and using the fnNumber2AnyBase function at the following link.

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=87871