i on the sql portion no comment, as for the bits to ascii
you would could use bit math

turn the bits into a byte ...n , then
cast that byte to char c = (char)n;
though its been a minute this...