Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of unique records in one (sql) command?
Message
 
 
À
28/06/2007 14:47:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01236514
Message ID:
01236740
Vues:
13
>>>
Select distinct yourfield from yourtable into array test
>>>?alen(test)
>>>?_tally && same result
>>
>>Unless table is empty.
>
>Right, which means use _tally.

Yes _TALLY is almost always accurate. In VFP8RTM SET NOTIFY CURSOR OFF makes _TALLY behave as if additive. The bug has been fixed in VFP8SP1.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform