---
title: "ZLIB_DECOMPRESS"
description: "ZLIB_DECOMPRESS SQL \uD568\uC218\uB294 Zlib \uC54C\uACE0\uB9AC\uC998\uC744 \uC0AC\uC6A9\uD558\uC5EC BLOB\uC758 \uC555\uCD95\uC744 \uD574\uC81C\uD569\uB2C8\uB2E4."
language: ko
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ko/docs/invantive-universalsql/grammar/sql-functions/zlib-decompress
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/zlib-decompress
updated: 2026-12-04T14:58:36Z
license: https://documentation.invantive.eu/ko/
---

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

## 목적
`ZLIB_DECOMPRESS` SQL 함수는 Zlib 알고리즘을 사용하여 `blob`의 압축을 해제합니다.

[[ZLIB_COMPRESS]] 및 [[UNGZIP]]도 참조하십시오.

매개변수:
- input (`blob`): 압축을 해제할 `blob`.

반환: 압축이 해제된 `blob`.

## 예시
다음 예제는 Zlib로 압축된 `blob`의 압축을 해제하고 원본 텍스트를 가져옵니다:
```sql
select blob_to_text(zlib_decompress(zlib_compress(ascii_to_blob('ACME'))))

-------------------
ACME
```
다음 예제는 Zlib로 압축된 `blob`의 압축을 해제하고 결과를 텍스트로 변환합니다:
```sql
select to_char(zlib_decompress('eJwLycgsVgCiRIWy1KJKhZz8vHSFktSKEoWSfCBdDKQzUhWifDKTFJLzcwuKUouLM/PzFHJTSzLyUwCN0xX5'))

-------------------
This is a very long text to test the ZLib compression method
```

