Good News Everybody!
A new search engine is coming soon.
As a stop gap measure, we are using Google's custom search engine service.
|
If you include calls to UDFs within an SQL VIEW and have
an SQL statement against that view that does not request
results from the UDFs, are they still executed anyway?
Example:
VIEW with UDF:
create view viewWithUdf (fld_1, fld_2, result_1, result_2)
as select fld_1, fld_2, udf_1(fld_1,fld_2) as result_1
, udf_2(fld_2) as result_2
from myFile
SQL statement using VIEW:
select fld_1, result_1 from viewWithUdf
In the above example, will udf_2 be called even though it
is not being requested? And will udf_1 be able to be called
successfully even though fld_2 wasn't requested?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.