- カテゴリ:
コンテキスト関数 (一般)
CURRENT_VERSION¶
現在のSnowflakeのバージョンを返します。
- こちらもご参照ください。
構文¶
引数¶
なし。
戻り値¶
戻り値のデータ型は VARCHAR です。
戻り値には、次の4つのフィールドが含まれます。
major_versionMajor 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_versionPatch 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のバージョンを示しています。
出力: