---
title: "COMPRESS"
description: "SQL-funktionen COMPRESS har f\u00F6r\u00E5ldrats sedan Invantive UniversalSQL-version 24."
language: sv
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/sv/docs/invantive-universalsql/grammar/sql-functions/compress
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/compress
updated: 2026-12-04T13:27:12Z
license: https://documentation.invantive.eu/sv/
---

## 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))
```

## Syfte
Funktionen `COMPRESS` SQL har föråldrats sedan Invantive UniversalSQL-version 24.

Se även [[UNCOMPRESS]].

## Exempel
Följande exempel visar felet som uppstår när den föråldrade SQL-funktionen `COMPRESS` används:
```sql
select compress(null)

itgenttn269: No longer supported.
```

