---
title: "ZSTD_DECOMPRESS"
description: "La fonction SQL ZSTD_DECOMPRESS d\u00E9compresse un BLOB \u00E0 l\u0027aide de l\u0027algorithme Zstandard."
language: fr
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/fr/docs/invantive-universalsql/grammar/sql-functions/zstd-decompress
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/zstd-decompress
updated: 2026-12-04T14:59:21Z
license: https://documentation.invantive.eu/fr/
---

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

## Objet
La fonction SQL `ZSTD_DECOMPRESS` décompresse une image `blob` à l'aide de l'algorithme Zstandard.

Voir également [[ZSTD_COMPRESS]] et [[ZLIB_DECOMPRESS]].

Paramètres :
- Entrée (`blob` : l'image `blob` à décompresser.

Renvoie : l'`blob` décompressé.

## Exemples
L'exemple suivant décompresse une image `blob` compressée au format Zstandard et récupère le texte d'origine :
```sql
select blob_to_text(zstd_decompress(zstd_compress(ascii_to_blob('ACME'))))

-------------------
ACME
```
L'exemple suivant décompresse une image `blob` compressée au format Zstandard et convertit le résultat en texte :
```sql
select to_char(zstd_decompress('KLUv/SA8vQEAwsMMFLAnHd2OTKNtYpi2ISYmwTDAZCECxao8IzN3TMax4dILZvUeu/Ui7ASy4iTxWPjMZwoIAA=='))

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

