VECTOR_NORMALIZE
vector math
What changes
- Input
- vector values
- Output or change
- distance, norm, normalized vector or property
- Return type
- The result is a vector with the same direction as the input vector but with a length of 1 according to the given norm. If the input is NULL, the returned result is also NULL. An error is returned if n
Syntax at a glance
VECTOR_NORMALIZE ( vector , norm_type )
Work example
Normalize a vector when a similarity method expects unit-length input.
Confirm the model and distance metric use normalization and handle a zero vector separately.
Check your work Normalization changes magnitudes and cannot make vectors from different models comparable.
Open Microsoft Learn for full syntax, permissions, and details for your version.