Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL count without French characters
Message
De
02/12/2002 05:18:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/12/2002 03:04:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00728525
Message ID:
00728532
Vues:
25
>I am looking for the best way to have my SQL count functionality to not have specific records to be isolated if they contain French characters but to be taken as if there wouldn't be any French characters.
>
>For example, if my SQL gives presently:
>
>Montréal 234
>Montreal 12
>Québec 120
>Quebec 12
>
>I would like to obtain:
>
>Montreal 246
>Quebec 132
>
>Any way to obtain that easily within one existing SQL?
lcWithAccent = 'éàì..'
lcWOAccent = 'eai..'
select chrtran(city,lcWithAccent,lcWOAccent) as myCity, cnt(*) ;
 from myTable ;
 group by myCity
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform