Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select Optimisation changes under VFP8?
Message
De
03/06/2003 14:01:52
 
 
À
03/06/2003 13:48:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00795674
Message ID:
00795813
Vues:
25
For example:

CREATE CURSOR Test (Field1 I NULL)
FOR lnCount = 1 TO 20
INSERT INTO Test VALUES (lnCount)
ENDFOR
INSERT INTO Test VALUES (NULL)

COUNT FOR Field1=10 AND IsEven(Field1)

FUNCTION IsEven(tnNumber)
? "Number is: " + TRANSFORM(tnNumber)
RETURN (MOD(tnNumber, 2) = 0)
ENDFUNC

Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform