Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT - SQL and case
Message
De
20/08/2004 14:58:16
 
 
À
20/08/2004 14:41:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00934972
Message ID:
00934980
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>Let say I have this table:
City
>----
>Notre-Dame-de-L'Ile-Perrot
>Notre-Dame-de-l'Ile-Perrot
When I run this query
SELECT City, Count (*) FROM MyTable GROUP BY 1
I have this result:
Notre-Dame-de-L'Ile-Perrot, 2
What I want is:
Notre-Dame-de-L'Ile-Perrot, 1
>Notre-Dame-de-l'Ile-Perrot, 1
How can I get this result?
>
>TIA

What's your current setting for SET COLLATE? If it's MACHINE, it should be OK. Maybe you have an index that was created with a different COLLATE setting?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform