SoftadminUtil.Vector_ToBinary

Not available in Cloud edition.
Type: Scalar function

Converts each number in a vector to its binary representation. Primarily in order to calculate cosine distance between vectors using SoftadminUtil.Vector_CosineDistance.

Return value: varbinary(max)

The binary representation of the numbers in the vector.

Parameters

@Vector mandatory varchar(max)
A JSON array of numbers.