Information générale
Catégorie:
Codage, syntaxe et commandes
>>One thing you absolutely do not want to do is add a UDF to a SQL query. VFP will run the UDF with every row of the source cursor, which KILLS performance.
>
>This is not an absolute truth. 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.
Gerry;
I will buy that. There are no absolutes, absolutely!:)
Tom
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement