How to Convert Integers to Hexadecimal, Octal and Binary (and Vice Versa) in SQL Server November 22, 2015