Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Case Sensitivity
Message
De
08/08/1997 15:09:43
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
08/08/1997 14:54:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00043761
Message ID:
00043774
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 //:^)

>no it means Select=SELECT=SELect etc.
>
>Arnon
>
>>
>>Could someone please set me straight. The VFP 5.0a help file states
>>"Neither Visual FoxPro nor BASIC are case-sensitive programming
>languages."
>>Shouldn't that mean that if I do a SELECT * FROM table1 WHERE keyfield =
>>"s422" I would get records where keyfield = "s422" and "S422"? That's not
>>working for me. So...how do I structure an SQL statement so I the
>duplicate
>>records when I do: SELECT keyfield FROM table1 GROUP BY keyfield HAVING
>>COUNT (*)>1?
>>
>>Jeff
>>
>>
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform