Uncompressed character data in Vantage requires 2 bytes per character when storing Unicode data. LZCOMP compresses Unicode character input using the Lempel-Ziv algorithm, and returns the compressed result.
LZCOMP provides good compression results for long Unicode strings and medium-length strings with multiple repeating characters, but may be less effective for short strings.
Although you can call the function directly, LZCOMP is typically used with algorithmic compression (ALC) to compress table columns. If LZCOMP is used with ALC, nulls are also compressed if those columns are nullable.