카테고리:

컨텍스트 함수 (일반)

CURRENT_VERSION

현재 Snowflake 버전을 반환합니다.

참고 항목:

CURRENT_CLIENT

구문

CURRENT_VERSION()

인자

없습니다.

반환

반환된 값의 데이터 타입은 VARCHAR입니다.

반환된 값에는 다음 4개의 필드가 포함됩니다.

<major_version>.<minor_version>.<patch_version>  <internal_identifier>
major_version

Major version numbers change annually. For example, the major version for all releases in 2026 is 10. For all releases in 2025, the major version is 9.

minor_version

부 버전 번호는 주별 릴리스마다 변경됩니다.

patch_version

Patch version numbers represent minor changes within a weekly release. It can be 1x or 10x based on the Early Adopter release and Weekly release respectively.

internal_identifier

이 필드는 내부 전용입니다.

For example, for version 10.15.10, the major version is 10, the minor version is 15, and the patch version is 10. (Early Adopter Release)

For example, for version 10.15.100, the major version is 10, the minor version is 15, and the patch version is 100. (Weekly Release - All accounts)

사용법 노트

  • 이 함수는 Snowflake의 버전 번호 정보를 반환합니다. 클라이언트 버전에 대한 정보를 검색하려면 CURRENT_CLIENT 를 참조하십시오.

이는 쿼리가 실행되는 Snowflake의 버전을 보여줍니다.

SELECT CURRENT_VERSION();

출력:

+-------------------+
| CURRENT_VERSION() |
|-------------------|
| 10.15.100         |
+-------------------+