×
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.
I believe so. Accessing a view results in the materialization of the
result set. The complete result set must be produced before your view
could access the data.
-Eric
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
joe.goray@xxxxxxxxx
Sent: Friday, January 22, 2010 7:42 AM
To: midrange-l@xxxxxxxxxxxx
Subject: UDF's in Views
If you include calls to UDF's within an Sql view and have an sql
statement
against that view that does not request results from the UDF's, are they
still executed anyway.
Example:
viewWithUdf
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.
Thank you
Joe
As an Amazon Associate we earn from qualifying purchases.
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.