Vector data type
data type Vector data type
What changes
- Input
- none
- Output or change
- none
Syntax at a glance
column_name VECTOR ( { <dimensions> } ) [ NOT NULL | NULL ]
Work example
Store an embedding vector in SQL Server 2025 when the model output and search workflow use vector values.
Record the model, dimensions, and numeric precision with the vector so values remain comparable.
Check your work Vector storage does not make vectors from different models or dimensions comparable.
Open Microsoft Learn for full syntax, permissions, and details for your version.