SQL Server Column types for lots and lots of text -
I am working on a project that replaces a piece of paper, and on a piece of paper, There are essentially two types of text fields, one is 10-40 characters and works well with the worker, but there is a big box with the box "Attach additional required sheets" under the second box. Therefore, we are talking a lot of lessons.
What are the advantages and disadvantages of different data types i can use for it? The battle seems to be hit against the 4096 line size limit. Should I Use Text Types? Or should I break it into pieces and put it in a subtab?
Currently SQL Server 2005, but I can force if there are any attractive advantages.
In SQL Server 2005, you can use VARCHAR (MAX) (or NVRAR for the Universe) Can be used. They can keep more data in terms of text and NTO, which will be disliked in the future. VARCHAR (MAX) is very easy to deal with TEXT and there are no similar limitations with the way to interact with it.
Therefore, do not use text without any doubt, for that data, VARCHAR (MAX) is a better option.
Comments
Post a Comment