Skip to content

Commit 54e02d5

Browse files
Merge pull request #34758 from Pookam90/patch-3
Update vector-distance-transact-sql.md
2 parents 407a012 + 0c533d3 commit 54e02d5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/t-sql/functions/vector-distance-transact-sql.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "VECTOR_DISTANCE calculates the distance between two vectors using
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: damauri, pookam
7-
ms.date: 05/01/2025
7+
ms.date: 07/25/2025
88
ms.update-cycle: 180-days
99
ms.service: sql
1010
ms.subservice: t-sql
@@ -24,14 +24,11 @@ ms.custom:
2424
- build-2025
2525
---
2626

27-
# VECTOR_DISTANCE (Transact-SQL) (Preview)
27+
# VECTOR_DISTANCE (Transact-SQL)
2828

2929
[!INCLUDE [sqlserver2025-asdb-asmi-fabricsqldb](../../includes/applies-to-version/sqlserver2025-asdb-asmi-fabricsqldb.md)]
3030

31-
> [!NOTE]
32-
> This data type is in preview and is subject to change. Make sure to read preview usage terms in [Service Level Agreements (SLA) for Online Services](https://www.microsoft.com/licensing/docs/view/Service-Level-Agreements-SLA-for-Online-Services).
33-
34-
Calculates the distance between two vectors using a specified distance metric. Vector distance is always exact and doesn't use any vector index, even if available. In order to use a vector index and thus perform an approximate vector search, you must use the [VECTOR_SEARCH](vector-search-transact-sql.md) function. To learn more about how vector indexing and vector search works, and the differences between exact and approximate search, refer to [Vectors in the SQL Database Engine](../../relational-databases/vectors/vectors-sql-server.md).
31+
The `VECTOR_DISTANCE` function calculates the distance between two vectors using a specified distance metric. Vector distance is always exact and doesn't use any vector index, even if available. In order to use a vector index and thus perform an approximate vector search, you must use the [VECTOR_SEARCH](vector-search-transact-sql.md) function. To learn more about how vector indexing and vector search works, and the differences between exact and approximate search, refer to [Vectors in the SQL Database Engine](../../relational-databases/vectors/vectors-sql-server.md).
3532

3633
> [!NOTE]
3734
> `VECTOR_DISTANCE` is available in Azure SQL Managed Instance configured with the [Always-up-to-date](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy) update policy.

0 commit comments

Comments
 (0)