Solomon Rutzky strives to solve the question, “What is the UNCOMPRESS function anyhow?”:
With no clear indications of what the
UNCOMPRESSfunction does, we can at least pass in some simple values to see what comes back, and see if we can make sense of the output. For the following tests, please keep in mind that “8-bit” refers to theVARCHAR,CHAR, andTEXT(deprecated) datatypes. And, “16-bit” refers to theNVARCHAR,NCHAR,NTEXT(deprecated),andXMLdatatypes.
Read on as Solomon figures out what it does and how non-useful it is for anybody nowadays.