Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text VS VarChar
Message
De
19/01/2008 18:24:13
 
 
À
19/01/2008 10:47:53
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01283165
Message ID:
01283331
Vues:
12
>If you migrated to SQL 2000, text was the only datatype that would make sense to use for a VFP memo field, because of it's almost unlimited size (well, right around 2GB).
>
>Now, with SQL 2005, there's a new version of varchar, specified as VARCHAR(MAX) and that's what you should be using now. I don't know why they came up with this MAX concept. It stores the same amount of data as the old text data type, but text is going to be removed in the future. Straight out of BOL:
>
>ntext, text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them. Use nvarchar(max), varchar(max), and varbinary(max) instead.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform