Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FUNCTION Command and Performance
Message
From
29/05/1999 13:54:50
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
FUNCTION Command and Performance
Miscellaneous
Thread ID:
00224372
Message ID:
00224372
Views:
39
I have a UDF that is used in an SQL Select that is basically the following:

X.PRG
-----
FUNCTION X

PARAMETERS Y

(CODE)

RETURN (Z)
-----

The Select calls this UDF in the Where clause ( WHERE X(Table.Field) <= Value ). I've notice a dramatic increase in performance by removing the "FUNCTION X" statement in the .PRG file. Is this expected?

Thanks,
Jonathan
Next
Reply
Map
View

Click here to load this message in the networking platform