Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The use of UPPER() in an index
Message
De
04/03/2008 13:06:15
Walter Meester
HoogkarspelPays-Bas
 
 
À
04/03/2008 12:57:26
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01298350
Message ID:
01298511
Vues:
32
maybe the following is worth reading:
http://vyaskn.tripod.com/case_sensitive_search_in_sql_server.htm


>>So you've setup SQL server to be case insenstive? In that case you'll have to accept a index scan for that field. Whether that is going to affect performance beyond acceptable is something you need to test.
>
>SQL Server has been set up case sensitive. And, I am not the one who did it. What I need to preserve is the following those syntaxes:
>
>
>@Name="FOURNIER"
>SELECT Client.PrimaryKey FROM Client WHERE UPPER(Name) LIKE @Name
>
>
>
>@Name="Fournier"
>SELECT Client.PrimaryKey FROM Client WHERE Name LIKE @Name
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform