Skip to content

Commit

Permalink
Merge pull request #32710 from markingmyname/sqluuf
Browse files Browse the repository at this point in the history
[T-SQL] Update applies to for the First_Value function
  • Loading branch information
prmerger-automator[bot] authored Dec 23, 2024
2 parents da27e8d + d6cc3f7 commit ab00cb7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/t-sql/functions/first-value-transact-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Returns the first value in an ordered set of values.
author: markingmyname
ms.author: maghan
ms.reviewer: kendalv, randolphwest
ms.date: 01/04/2024
ms.date: 12/23/2024
ms.service: sql
ms.subservice: t-sql
ms.topic: reference
Expand All @@ -18,6 +18,7 @@ dev_langs:
- "TSQL"
monikerRange: ">=aps-pdw-2016 || =azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric"
---

# FIRST_VALUE (Transact-SQL)

[!INCLUDE [sql-asdb-asdbmi-asa-pdw-edge-fabricse-fabricdw](../../includes/applies-to-version/sql-asdb-asdbmi-asa-pdw-edge-fabricse-fabricdw.md)]
Expand All @@ -41,7 +42,7 @@ The value to be returned. *scalar_expression* can be a column, subquery, or othe

#### [ IGNORE NULLS | RESPECT NULLS ]

**Applies to**: SQL Server (starting with [!INCLUDE [sssql22](../../includes/sssql22-md.md)]), Azure SQL Database, Azure SQL Managed Instance, [!INCLUDE [ssazurede-md](../../includes/ssazurede-md.md)]
**Applies to**: [!INCLUDE [sssql22](../../includes/sssql22-md.md)] and later versions, Azure SQL Database, Azure SQL Managed Instance, and [!INCLUDE [ssazurede-md](../../includes/ssazurede-md.md)]

`IGNORE NULLS` - Ignore null values in the dataset when computing the first value over a partition.

Expand Down
4 changes: 2 additions & 2 deletions docs/t-sql/functions/lag-transact-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "LAG (Transact-SQL)"
description: "LAG (Transact-SQL)"
author: markingmyname
ms.author: maghan
ms.date: 07/26/2023
ms.date: 12/23/2024
ms.service: sql
ms.subservice: t-sql
ms.topic: reference
Expand Down Expand Up @@ -45,7 +45,7 @@ LAG (scalar_expression [ , offset ] [ , default ] ) [ IGNORE NULLS | RESPECT NUL

#### [ IGNORE NULLS | RESPECT NULLS ]

**Applies to**: SQL Server (starting with [!INCLUDE[sssql22](../../includes/sssql22-md.md)]), Azure SQL Database, Azure SQL Managed Instance, [!INCLUDE[ssazurede-md](../../includes/ssazurede-md.md)]
**Applies to**: [!INCLUDE [sssql22](../../includes/sssql22-md.md)] and later versions, Azure SQL Database, Azure SQL Managed Instance, and [!INCLUDE[ssazurede-md](../../includes/ssazurede-md.md)]

IGNORE NULLS - Ignore null values in the dataset when computing the first value over a partition.

Expand Down
4 changes: 2 additions & 2 deletions docs/t-sql/functions/last-value-transact-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Returns the last value in an ordered set of values.
author: markingmyname
ms.author: maghan
ms.reviewer: kendalv, randolphwest
ms.date: 01/04/2024
ms.date: 12/23/2024
ms.service: sql
ms.subservice: t-sql
ms.topic: reference
Expand Down Expand Up @@ -41,7 +41,7 @@ The value to be returned. *scalar_expression* can be a column, subquery, or othe

#### [ IGNORE NULLS | RESPECT NULLS ] **

**Applies to**: SQL Server (starting with [!INCLUDE [sssql22](../../includes/sssql22-md.md)]), Azure SQL Database, Azure SQL Managed Instance, [!INCLUDE [ssazurede-md](../../includes/ssazurede-md.md)]
**Applies to**: [!INCLUDE [sssql22](../../includes/sssql22-md.md)] and later versions, Azure SQL Database, Azure SQL Managed Instance, and [!INCLUDE [ssazurede-md](../../includes/ssazurede-md.md)]

`IGNORE NULLS` - Ignore null values in the dataset when computing the last value over a partition.

Expand Down

0 comments on commit ab00cb7

Please sign in to comment.