---
title: "COMPRESS"
description: "The COMPRESS SQL function has been obsoleted since Invantive UniversalSQL release 24."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/compress
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/compress
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

## Syntax

```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> COMPRESS[COMPRESS]:::quoted
    COMPRESS --> End((END))
```

## Purpose
The `COMPRESS` SQL function has been obsoleted since Invantive UniversalSQL release 24.

See also [[UNCOMPRESS]].

## Examples
The following example shows the error raised when using the obsoleted `COMPRESS` SQL function:
```sql
select compress(null)

itgenttn269: No longer supported.
```