- Categories:
System functions (System Information)
SYSTEM$CLIENT_VERSION_INFO¶
Returns version information for Snowflake clients and drivers.
- See also:
Syntax¶
Arguments¶
None
Returns¶
Return a string containing a JSON array of objects. Each object contains information about a specific client and driver, such as SnowSQL, the JDBC driver, and so on.
Each JSON object contains the following name/value pairs:
Where:
clientIdInternal ID of the client or driver. Possible values include:
DOTNETDriver
GO
JDBC
JSDriver
ODBC
PHP_PDO
PythonConnector
SnowSQL
SQLAPIclientAppIdName of the client or driver. Possible values include:
.NET
GO
JDBC
JavaScript
ODBC
PDO
PythonConnector
SnowSQL
SQLAPIminimumSupportedVersionOldest version of the client or driver officially supported.
minimumNearingEndOfSupportVersionVersion of the client or driver that reaches end-of-support (EOS) at the start of the next quarter.
recommendedVersionCurrent version of the client or driver.
deprecatedVersions,_customSupportedVersions_Internal use only.
Usage notes¶
If you prefer not to process JSON, you can use the PARSE_JSON and LATERAL FLATTEN function to convert the JSON to columnar output.
You can also use the WHERE clause to return the information for a specific client or driver (
clientId).
Examples¶
The following example retrieves the version information for all Snowflake clients and drivers. Note that the output has been manually formatted for better readability.
The following example returns the version information for all clients as a rowset:
The following example returns the version information for the JDBC driver as a rowset: