Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The use of UPPER() in an index
Message
De
04/03/2008 12:57:26
 
 
À
04/03/2008 12:52:03
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01298350
Message ID:
01298507
Vues:
29
>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
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