Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A pseudo SEEK() Function to be used with SPT
Message
 
À
05/07/2002 10:23:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00675579
Message ID:
00675625
Vues:
12
I forgot to mention something:

If you have more than one record that matches the criteria specified in the WHERE clause, the resultset contains more than one record. Each with the value "1" in the only column.

You might also consider ...

SELECT COUNT(*) FROM table WHERE field=99

This statement should be running fine on all servers. You'll have to change your code to check for the result of count rather than checking for the existance of a record in the resultset. This might be slightly faster than my other suggestion.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform