---
title: "COMPRESS"
description: "COMPRESS SQL\u95A2\u6570\u306F\u3001Invantive UniversalSQL \u30EA\u30EA\u30FC\u30B924\u4EE5\u964D\u3001\u975E\u63A8\u5968\u3068\u306A\u308A\u307E\u3057\u305F\u3002"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/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:03Z
license: https://documentation.invantive.eu/ja/
---

## 構文

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

## 目的
Invantive UniversalSQL リリース24以降、`COMPRESS` SQL関数は非推奨となりました。

参照：[[UNCOMPRESS]]。

## 例
次の例は、非推奨となった`COMPRESS` SQL関数を使用した際に発生するエラーを示しています:
```sql
select compress(null)

itgenttn269: No longer supported.
```

