Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL aggregate
Message
From
26/03/2010 03:32:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
26/03/2010 03:25:02
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:
01457373
Views:
42
>>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform