

 Amazon Redshift는 패치 198부터 새 Python UDF 생성을 더 이상 지원하지 않습니다. 기존 Python UDF는 2026년 6월 30일까지 계속 작동합니다. 자세한 내용은 [블로그 게시물](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)을 참조하세요.

# DB\_COLLATION
<a name="r_DB_COLLATION"></a>

현재 데이터베이스의 데이터 정렬 설정을 반환합니다.

## 구문
<a name="r_DB_COLLATION-synopsis"></a>

```
db_collation()
```

## 반환 타입
<a name="r_DB_COLLATION-return-type"></a>

현재 데이터베이스의 데이터 정렬을 나타내는 VARCHAR 문자열을 반환합니다. 가능한 값은 `case_sensitive` 또는 `case_insensitive`입니다.

## 예제
<a name="r_DB_COLLATION-example"></a>

다음 예는 현재 데이터베이스의 데이터 정렬을 반환합니다.

```
select db_collation();

db_collation
----------------
case_sensitive
(1 row)
```