sql server - SQL storing strings -
I need to save the string to the database Each string size varies from 1 to N. I think this limit will be around 10000, maybe more. in This is the only way it is recommended for Note, you have a To use the index, create a calculated column and use it in index searches. It can work as a proficient fat filter: SQL Server 2005 "post-text" itemprop = "text"> code> and later, NVARCHAR (MAX) strings Is the best way to store which can be longer than 4000 characters. SQL Server 2005 and above, although it still supports the TEXT column for backward compatibility. NVHAR (max) column.
Make Table Fu (id is not INT, my text is not NVARCHAR (MAX), mytext_index AS CAST (mytext AS NVARCHAR (450 )) Create Index ix_foo_mytext (MyText_index) SELECT * mytext from WHERE mytext_index LIKE 'L%'
Comments
Post a Comment