diff --git a/src/Connectors.Memory.SqlServer/SqlServerClient.cs b/src/Connectors.Memory.SqlServer/SqlServerClient.cs index e68eb66..05022c2 100644 --- a/src/Connectors.Memory.SqlServer/SqlServerClient.cs +++ b/src/Connectors.Memory.SqlServer/SqlServerClient.cs @@ -97,7 +97,7 @@ FOREIGN KEY ([memory_id]) REFERENCES {this.GetFullTableName(this._configuration. ); IF OBJECT_ID(N'{this._configuration.Schema}.IXC_{$"{this._configuration.EmbeddingsTableName}_{collectionName}"}', N'U') IS NULL - CREATE CLUSTERED COLUMNSTORE INDEX IXC_{$"{this._configuration.EmbeddingsTableName}_{collectionName}"} + CREATE CLUSTERED COLUMNSTORE INDEX [IXC_{$"{this._configuration.EmbeddingsTableName}_{collectionName}"}] ON {this.GetFullTableName($"{this._configuration.EmbeddingsTableName}_{collectionName}")};"; command.Parameters.AddWithValue("@collectionName", collectionName);