Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL aggregate
Message
De
26/03/2010 03:32:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
26/03/2010 03:25:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01457370
Message ID:
01457373
Vues:
43
>>Hi All,
>>
>>I have a small problem to aggragate a field.
>>
>>The field is a integer holding bit patterns.
>>
>>I like to aggreagte like a BITOR, IOW all bits set should remain.
>>
>>Any ideas?
>>
>>Agnes
>
>
>Any example Agnes ?
>
>You can select something like
>
>select name ;
> (bittest(field, 2) or bittest(field, 4)) as AnotherField ;
>
Gregory
I need an aggregate
select;
 Unifier,;
 Sum(Number) as number,;
 AGGREGATE_BITOR(PatternField) as Patterns;
 from ...;
 group by 1
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform