want to use or avoid them? <<Quote:>> ..my app will never be international, is there any reason why I might
It is better to stick with non-UNICODE types.
than the varchar and char equivilents. Is he right? <<Quote:>> My colleague said nvarchar and nchar datatypes are "more effecient"
AFAIK, there is nothing with proves his claim.
when the data is larger than 8k. <<Quote:>> My understanding of the text datatype is that it is only preferable
That is pretty reasonable
With respect to using varchar/char you can search the ng. archives here.Quote:>>...there any other rules I'm missing? Any to do with effeciency etc?<<
If you have varying sizes for your character data then VARCHAR datatype
is better and can save you space. However with VARCHAR datatypes, there
is a little more additional storage (at least 2 bytes overhead) and a
very negligible CPU time needed to keep track of the actual length of each
value. Generally, as a norm, if more than 80% of your data uses less than
80% of the maximum defined length use VARCHAR, however use common sense
and consider specific usage depending on your datamodel & data requirements.
--
- Anith
(Please respond only to newsgroups)