General information
Category:
Coding, syntax & commands
Title:
FUNCTION Command and Performance
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only