SQL Flow Field Guide

VECTOR_NORM

Catalog support for SQL Server 2025 (17.x)

vector math

What changes

Input
vector values
Output or change
distance, norm, normalized vector or property
Return type
The function returns a float value that represents the norm of the vector using the specified norm type. An error is returned if norm_type isn't a valid norm type and if the vector isn't of the vector

Syntax at a glance

VECTOR_NORM ( vector , norm_type )

Work example

Measure the magnitude of a vector during an embedding quality check.

Compare the norm with the model's expected output range before normalizing or searching.

Check your work A norm describes magnitude and not semantic similarity.

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