| description | Version - Transact SQL Metadata functions | |
|---|---|---|
| title | VERSION (Transact-SQL) | Microsoft Docs | |
| ms.custom | ||
| ms.date | 06/10/2016 | |
| ms.prod | sql | |
| ms.prod_service | sql-data-warehouse, pdw | |
| ms.reviewer | ||
| ms.technology | t-sql | |
| ms.topic | reference | |
| dev_langs |
|
|
| ms.assetid | 95a79b33-98f2-4929-a1a5-93b522a9e152 | |
| author | julieMSFT | |
| ms.author | jrasnick | |
| monikerRange | >= aps-pdw-2016 || = azure-sqldw-latest |
[!INCLUDEapplies-to-version/asa-pdw]
Returns the version of [!INCLUDEssSDW] or [!INCLUDEssPDW_md] running on the appliance.
Transact-SQL Syntax Conventions (Transact-SQL)
-- 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();