× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>Select
>            ItemDescription(ITEM#) as "Item Description",
>ItemQOH(ITEM#) as "Quantity on Hand",
>Item12MonthUsage(ITEM#) as "Average Yearly Usage"
>From
>            SomeListOfItems

>Does each one of these functions need to retrieve this information from
>ITEMMSTR or does the record somehow stay resident in memory from one
>function request to the next.   
I'm pretty sure input record is the same for all three UDF invocations.

>So when I roll this out to 500 users is
>the system going to get slammed?
It depends on how complex your functions are.  
Rule of thumb I use with my UDFs is to make them as simple as possible
(single purpose functions).  
If your UDFs are rather simple (i.e. add these two numbers and return the
sum, convert decimal to date), there shouldn't be much overhead.  
If each function runs another SQL statement in turn and the FROM file has
lots of records, I can see lots of 'slamming' going on.

Test in on a large file.

Elvis



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.