Code :
CREATE TABLE [techforum_member_list]( [TfmID] INT NOT NULL PRIMARY KEY NONCLUSTERED HASH WITH (BUCKET_COUNT = 1000000), [Name] NVARCHAR(250) NOT NULL INDEX [IName] HASH WITH (BUCKET_COUNT = 1000000), [JoiningDate] DATETIME NULL ) WITH (MEMORY_OPTIMIZED = ON, DURABILITY = SCHEMA_AND_DATA);
Error
Msg 12328, Level 16, State 102, Line 49 Indexes on character columns that do not use a *_BIN2 collation are not supported with indexes on memory optimized tables. Msg 1750, Level 16, State 0, Line 49 Could not create constraint or index. See previous errors.