You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While it has been possible to create a computed column for accessing a property inside JSON and an index over that, SQL Server 2025 introduced a more first-class CREATE JSON INDEX that works with the new JSON data type (Documentation
):
CREATE JSON INDEX name ON table_name (json_column_name)
[ FOR ( sql_json_path [ , ...n ] ) ]
[ WITH ( <json_index_option> [ , ...n ] ) ]
[ ON { filegroup_name | "default" } ]
[ ; ]
Note that the specifics of indexing JSON properties vary across databases, so this is for SQL Server specifically. If we add SQLite JSON support, we can also do this for SQLite at the same time, assuming it's supported.
changed the title [-]SQL Server: Make HasIndex work on JSON properties[/-][+]SQL Server: Make HasIndex work on JSON properties (via CREATE JSON INDEX)[/+]on Aug 26, 2025
changed the title [-]SQL Server: Make HasIndex work on JSON properties (via CREATE JSON INDEX)[/-][+]SQL Server: Support JSON indexes[/+]on Sep 22, 2025
Activity
[-]SQL Server: Make HasIndex work on JSON properties[/-][+]SQL Server: Make HasIndex work on JSON properties (via CREATE JSON INDEX)[/+][-]SQL Server: Make HasIndex work on JSON properties (via CREATE JSON INDEX)[/-][+]SQL Server: Support JSON indexes[/+]6 remaining items
Add support for SQL Server and Cosmos JSON indexes
Add support for SQL Server and Cosmos JSON indexes
Add support for SQL Server and Cosmos JSON indexes
Add support for SQL Server and Cosmos JSON indexes
Add support for SQL Server and Cosmos JSON indexes
Add support for SQL Server and Cosmos JSON indexes
Add support for SQL Server and Cosmos JSON indexes
Add support for SQL Server JSON indexes
Add support for SQL Server JSON indexes
Add support for SQL Server JSON indexes
Add support for SQL Server JSON indexes
Add support for SQL Server JSON indexes
Add support for SQL Server JSON indexes