Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing a varchar(4000)
Message
From
04/02/2014 11:37:22
 
 
To
04/02/2014 11:31:46
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01593130
Message ID:
01593135
Views:
20
when I try to create a full-text index, it says i need to create a full-text compatible index first.

>>I need to create an index on a varchar(4000) column. BOL says:
>>
>>The maximum size for an index key is 900 bytes. Indexes on varchar columns that exceed 900 bytes can be created if the existing data in the columns do not exceed 900 bytes at the time the index is created; however, subsequent insert or update actions on the columns that cause the total size to be greater than 900 bytes will fail.
>>
>>Does that mean I CAN"T create an index on that field (yes, it has entries longer than 900)? It is a field that will need a full-text index as it will be searched.
>>
>>All help is greatly appreciated!
>
>For fields that I have full text, they are VarChar(MAX) and do not have single index key. Do you really need to have both indexes on the field?
Thank You

Rollin Burr

Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform