---
title: "COMPRIMIR"
description: "La funci\u00F3n SQL COMPRESS ha quedado obsoleta desde la versi\u00F3n 24 de Invantive UniversalSQL."
language: es
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/es/docs/invantive-universalsql/grammar/sql-functions/compress
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/compress
updated: 2026-12-04T13:26:56Z
license: https://documentation.invantive.eu/es/
---

## Sintaxis

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

## Propósito
La función SQL `COMPRESS` ha quedado obsoleta desde la versión 24 de Invantive UniversalSQL.

Véase también [[UNCOMPRESS]].

## Ejemplos
El siguiente ejemplo muestra el error que se produce al utilizar la función SQL `COMPRESS`, que ha quedado obsoleta:
```sql
select compress(null)

itgenttn269: No longer supported.
```

