Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL aggregate
Message
De
26/03/2010 03:39:38
 
 
À
26/03/2010 03:32:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
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:
01457377
Vues:
38
>>>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

Agnes,

I see - been thinking - need coffee - no idea for the moment
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform