Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit e40ade0

Browse files
Update example in Vector article (#10100)
* Update vector-search-transact-sql.md I think there is a mistake in Example 2, line 158: te `SIMILAR_TO` value should refer to a column: ``` SIMILAR_TO = t.v, ``` Instead of variable: ``` SIMILAR_TO = @QV, ``` * Update vector-search-transact-sql.md Fix mistake referencing to the wrong table alias
1 parent 688c67a commit e40ade0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ CROSS APPLY
161161
VECTOR_SEARCH(
162162
TABLE = [dbo].[wikipedia_articles_embeddings] as t,
163163
COLUMN = [content_vector],
164-
SIMILAR_TO = @qv,
164+
SIMILAR_TO = qv.v,
165165
METRIC = 'cosine',
166166
TOP_N = 10
167167
) AS s

0 commit comments

Comments
 (0)