---
title: "REVERSE"
description: "REVERSE SQL \uD568\uC218\uB294 \uC785\uB825\uC744 \uB4A4\uC9D1\uC2B5\uB2C8\uB2E4."
language: ko
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ko/docs/invantive-universalsql/grammar/sql-functions/reverse
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/reverse
updated: 2026-12-04T14:20:40Z
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)) --> REVERSE[REVERSE]:::quoted
    REVERSE --> End((END))
```

## 목적
`REVERSE` SQL 함수는 입력을 뒤집습니다.

매개변수:
- 입력(`varchar2`): 뒤집을 텍스트.

반환: 문자의 순서를 뒤집은 텍스트.

## 예시
다음 예제는 텍스트 `abc`를 뒤집습니다:
```sql
select reverse('abc')

-------------------
cba
```
다음 예제는 뒤집힌 텍스트를 다시 뒤집어 원래 입력을 반환합니다:
```sql
select reverse(reverse('abc'))

-------------------
abc
```

