is intended to be an attempt at converting sql_variant data into a portable format encoded as a string. Unfortunately it's not completely portable in the sense that you can infer the exact datatype, ...