Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCAN and query result
Message
 
À
03/08/2001 16:59:13
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00537855
Message ID:
00540112
Vues:
18
Sorry Gerry,

>>There can be situations where a UDF can simplify what would otherwise be a very complex query.

>>If it looks like a UDF has merit, one tests it with a representative data set; if it performs satisfactorily (considering the alternatives), then one incorporates it.

I've never seen a situation where I couldn't come up with a set of SQL queries (i.e. the base query and a subsequent SELECT or UPDATE) that didn't out perform a UDF in a SQL statement. I not a fan of absolute statements, but in my experience with Fox, this one stands.

I'd be interested in seeing any examples of a UDF in a SQL SELECT that *is* fast.

Regards,
Thom C.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform