SQL Flow Field Guide

VECTORPROPERTY

Catalog support for SQL Server 2025 (17.x)

vector metadata

What changes

Input
vector value
Output or change
property value
Return type
The function returns the specific properties of a given vector based on the property selected. For example: If the property is Dimensions, the function returns an integer value representing the dimens

Syntax at a glance

VECTORPROPERTY(vector , property)

Work example

Inspect supported metadata about a vector before a comparison or storage check.

Validate dimensions and element precision against the model's output contract.

Check your work Vector metadata does not establish that the embedding belongs to the expected model.

Open Microsoft Learn for full syntax, permissions, and details for your version.