---
title: "NVL"
description: "NVL SQL \uD568\uC218\uB294 \uBAA8\uB4E0 \uAC12\uC744 \uD558\uB098\uB85C \uD569\uCE69\uB2C8\uB2E4."
language: ko
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ko/docs/invantive-universalsql/grammar/sql-functions/nvl
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/nvl
updated: 2026-12-04T14:07:43Z
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)) --> NVL[NVL]:::quoted
    NVL --> End((END))
```

## 목적
`NVL` SQL 함수는 모든 값을 하나로 합칩니다.

[[COALESCE]]도 참조하십시오.

매개변수:
- 위치 1 (`ANY`): 값 하나.
- 위치 n(선택 사항, `ANY`): 추가 값입니다.

반환: 모든 값을 하나로 합친 결과입니다.

## 예시
다음 예제는 `null`이 아닌 첫 번째 값을 가져옵니다:
```sql
select nvl(null, 'a')

-------------------
a
```
다음 예제는 더 긴 값 목록에서 `null`이 아닌 첫 번째 값을 가져옵니다:
```sql
select nvl(null, null, 'b', null, null)

-------------------
b
```

