| title | VERSION (Transact-SQL) | |
|---|---|---|
| description | Version - Transact SQL Metadata functions | |
| author | MikeRayMSFT | |
| ms.author | mikeray | |
| ms.date | 06/10/2016 | |
| ms.service | sql | |
| ms.subservice | t-sql | |
| ms.topic | reference | |
| dev_langs |
|
|
| monikerRange | >= aps-pdw-2016 || = azure-sqldw-latest |
[!INCLUDEapplies-to-version/asa-pdw]
Returns the version of [!INCLUDEssazuresynapse-md] or [!INCLUDEssPDW_md] running on the appliance.
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions
-- Azure Synapse Analytics and Parallel Data Warehouse
VERSION ( )
A table name must be specified in a FROM clause for this function to return results. A result row will be returned for each row in the result set for the query; use TOP (Transact-SQL) to limit the number of returned rows.
The following example returns the version number.
SELECT VERSION();