I have a table with nvarchar(max) datatype column. Max length of data in this column is 37000, then I can’t use nvarchar(4000). How can I create index for this column? My data is Unicode text in Persian.
I have a table with nvarchar(max) datatype column. Max length of data in this
Share
1- you could use it in an “INCLUDE”
2-or You may consider to use “CHECKSUM” method. It’s inteded for buidling hash indexes, especially to improve indexing speed for indexing long character columns (as you have).
You can read more and find examples: http://msdn.microsoft.com/en-us/library/ms189788.aspx