Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN and query result
Message
 
To
03/08/2001 16:59:13
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537855
Message ID:
00540112
Views:
27
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform