Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL aggregate
Message
From
26/03/2010 03:39:38
 
 
To
26/03/2010 03:32:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01457370
Message ID:
01457377
Views:
37
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform