Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SEEK or SELECT - SQL
Message
De
11/07/2000 06:38:15
 
 
À
11/07/2000 06:32:06
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00390648
Message ID:
00390651
Vues:
10
OK

SELECT *;
FROM Table;
WHERE Field = MainTable.PKField;
INTO ARRAY aTemp

IF _TALLY > 0
RETURN .F.
ELSE
RETURN .T.
ENDIF

The field used in the select will be an indexed field - so is optimized.

If I use the SEEK - I would just

IF SEEK(cValue)
RETURN .T.
ELSE
RETURN .F.
ENDIF

Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform