Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text vs varchar
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
Divers
Thread ID:
00660117
Message ID:
00660252
Vues:
14
>I remember back when I first started to work with SQL server, I read that you are supposed to avoid text data types at all cost. Becuase the data is stored in a seperate file... Well I have encountered a situation where I might need to store more than 8000 characters, which is the max for a varchar. After a little research I found the option for storing text in the row data, which stores the data in the row if its under a specified size. I was wonding if anyone has used this option before? If so did you notice any performance issues? etc...
>
>Eric

Anyone that gave you that info about SQL Server is wrong (maybe it was true for pre 6.5 versions). The biggest issue with text variable types is that they are not searchable columns, unless you set up a full-text index. Also, I think text column values are always stored outside of the row, because of the massive upper size limit they have.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform