× 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.



>Am I correct that there would be one access to the UDF's table
 
Um, sort-of. You're correct that there *could* be only one access to the table, 
but the optimizer may have chosen to hit the table multiple times instead of 
caching the result, or it simply might not take deterministic into effect at 
all. Remember too, that if it's calling the same function multiple times with 
the same input I'm sure the function and all the needed rows are sitting in 
memory so it's not like it adds _that_ much time. 
 
The only things you can rest assured that SQL *will* do is return the records 
you asked for in the order you specified. Any assumptions on how SQL will run 
the query are best-guesses at best.
 
-Walden
 
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.