This is the query for creating index create index idx_ncl_2 on BFPRODATTRASSOCIATION (value,attributeid) include (productid)
Table structure of BFPRODATTRASSOCIATION
ProdAttrAssociationId bigint no 8
ProductId bigint no 8
AttributeId bigint no 8
Value varchar no 4096
I am getting this error:
The maximum key length is 900 bytes. The index ‘idx_ncl_2’ has maximum length of 1237 bytes.
I have to create a nonclustered index on this column. Is there any way i can create index for the column which have datatype of varchar and size is greater than 900.
Please suggest.