Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Char(100) field VS Text
Message
De
19/04/2012 10:20:42
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01542085
Message ID:
01542102
Vues:
33
>Maybe I'm not reading what you're saying right, but Varchar and nVarchar are indexable w/o full text indexing. Searching for things starting with whatever works fine on varchar and nvarchar.

If you try to search for an exact match on one of those fields, you will get:

"The data types text and varchar are incompatible in the equal to operator."

As for Like 'Someting%', this was not as optimized for the search as when I use it for a Char field. But, in my case, I was not interested with the Like. So, searching for an exact match with a varchar field, we are stucked. Is this your findings as well?
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