MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2014

RE: can a procedure/function over a table be DETERMINISTIC ?



fixed

Thanks Charles (I should have checked):
so I stay with DETERMINISTIC understanding this as
a 'reasonable' declaration - not 'forever'

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Thursday, September 04, 2014 12:19 PM
To: Midrange Systems Technical Discussion
Subject: Re: can a procedure/function over a table be DETERMINISTIC ?

Technically, no....

But Chuck makes some valid points here (and elsewhere in the thread):
http://archive.midrange.com/rpg400-l/201312/msg00269.html

Charles



On Thu, Sep 4, 2014 at 2:09 PM, Gary Thompson <gthompson@xxxxxxxxxxx> wrote:

Re-writing an SQL procedure as a function and am now thinking that
returning a result from a query on a table should not be declared
DETERMINISTIC because tables are changeable ?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact