Daniel Calbimonte
SSCertifiable
Points: 6418
More actions
March 23, 2026 at 12:00 am
#4743984
Comments posted to this topic are about the item Vectors in SQL Server 2025
izhar-azati
SSC Veteran
Points: 273
March 23, 2026 at 6:43 am
#4754183
some errors:
declare @myvector as vector(3) = '[5, 2, 30, 32]' -- 3 or 4 ?
declare @myvector as vector(3) = JSON_ARRAY(1.0, 2.0, 3.0)SELECT value AS firstvalueFROM OPENJSON(CAST(@myvector AS NVARCHAR(MAX)))WHERE = 0;
declare @myvector as vector(3) = JSON_ARRAY(1.0, 2.0, 3.0)
SELECT value AS firstvalue
FROM OPENJSON(CAST(@myvector AS NVARCHAR(MAX)))
WHERE = 0;
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply