Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL count without French characters
Message
From
02/12/2002 05:18:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/12/2002 03:04:57
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00728525
Message ID:
00728532
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform