Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL aggregate
Message
 
 
À
26/03/2010 03:17:19
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:
01457396
Vues:
58
This message has been marked as a message which has helped to the initial question of the thread.
Hi Agnes,

Would this work for you?
pnResult = 0

SELECT ..., BITORSQL(myfield) ...

FUNCTION BITORSQL(tnVal)
RETURN BITOR(pnResult , tnVal)
>
>I have a small problem to aggregate a field.
>
>The field is a integer holding bit patterns.
>
>I like to aggregate like a BITOR, IOW all bits set should remain.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform