Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.51 KB

version-transact-sql-metadata-functions.md

File metadata and controls

44 lines (33 loc) · 1.51 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic dev_langs monikerRange
VERSION (Transact-SQL)
Version - Transact SQL Metadata functions
MikeRayMSFT
mikeray
06/10/2016
sql
t-sql
reference
TSQL
>= aps-pdw-2016 || = azure-sqldw-latest

Version - Transact SQL Metadata functions

[!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

Syntax

-- Azure Synapse Analytics and Parallel Data Warehouse  
VERSION ( )  

Arguments

General Remarks

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.

Examples

The following example returns the version number.

SELECT VERSION();  

See Also

SESSION_ID (Transact-SQL)
DB_NAME (Transact-SQL)