You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/t-sql/functions/vector-distance-transact-sql.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: "VECTOR_DISTANCE calculates the distance between two vectors using
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: damauri, pookam
7
-
ms.date: 09/11/2024
7
+
ms.date: 02/18/2025
8
8
ms.service: sql
9
9
ms.subservice: t-sql
10
10
ms.topic: reference
@@ -48,11 +48,11 @@ A string with the name of the distance metric to use to calculate the distance b
48
48
49
49
### vector1
50
50
51
-
An expression that evaluates to *vector* data type.
51
+
An expression that evaluates to **vector** data type.
52
52
53
53
### vector2
54
54
55
-
An expression that evaluates to *vector* data type.
55
+
An expression that evaluates to **vector** data type.
56
56
57
57
## Distance Metrics
58
58
@@ -66,7 +66,7 @@ An expression that evaluates to *vector* data type.
66
66
67
67
The function returns a scalar **float** value that represents the distance between the two vectors using the specified distance metric.
68
68
69
-
An error is returned if *distance_metric* isn't a valid metric and if the provided vectors are not of the [vector](../../t-sql/data-types/vector-data-type.md) type.
69
+
An error is returned if *distance_metric* isn't a valid metric and if the provided vectors are not of the [vector data type](../../t-sql/data-types/vector-data-type.md).
70
70
71
71
## Examples
72
72
@@ -130,3 +130,4 @@ ORDER BY
130
130
131
131
-[Overview of vectors in the SQL Database Engine](../../relational-databases/vectors/vectors-sql-server.md)
0 commit comments