Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Case Sensitivity
Message
 
 
À
08/08/1997 15:09:43
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00043761
Message ID:
00043902
Vues:
32
>If I understand your question try...
>
>SELECT COUNT(*) as keycount, keyfield FROM table1 GROUP BY upper(keyfield) ORDER BY upper(keyfield) HAVING keycount >1
>
>Also, if you have a large table, make sure that you have and index on upper(keyfield)
>Hope this helps //:^)
>

I do not know about SQL Server, but you can not create an upper(keyfield) index in Oracle. So optimization is no good there. Better to convert data to upper, lower or proper at the time of data entry. Then there is no need to be concerned about haw many different variations a user can enter text data.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform