---
title: "SIGN"
description: "SIGN SQL \uD568\uC218\uB294 \uC22B\uC790\uC758 \uBD80\uD638\uB97C \uBC18\uD658\uD558\uBA70, -1\uC740(\uB294) \uC74C\uC218, 1\uC740(\uB294) \uC591\uC218, 0\uC740(\uB294) 0\uC744 \uB098\uD0C0\uB0C5\uB2C8\uB2E4."
language: ko
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ko/docs/invantive-universalsql/grammar/sql-functions/sign
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/sign
updated: 2026-12-04T14:25:44Z
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)) --> SIGN[SIGN]:::quoted
    SIGN --> End((END))
```

## 목적
`SIGN` SQL 함수는 숫자의 부호를 반환하며, -1은(는) 음수, 1은(는) 양수, 0은(는) 0을 나타냅니다.

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

매개변수:
- 입력(`decimal`): 숫자.

반환: `int32`로 표시된 부호.

## 예시
다음 예제는 음수, 0, 양수의 부호를 조회합니다:
```sql
select sign(-0.65565) negative
,      sign(0) neutral
,      sign(+20) positive

-------- -------- --------
-1       0        1
```
다음 예제는 입력이 `null`이므로 `null`을 반환합니다:
```sql
select sign(null)

--------

```

