Subject | Re: for select c from t where :p = initial-value-of-p |
---|---|
Author | woodsmailbox |
Post date | 2008-11-06T21:32:42Z |
--- In firebird-support@yahoogroups.com, "woodsmailbox"
<cosmin.apreutesei@...> wrote:
since it doesn't have the "for select" construct. In case it was a
cursor (was it?) AFAIK you can't re-evaluate a cursor from inside the
loop except if you close/open it again.
Anyway, forgive me for insisting on it, but is there any documentation
that deals with the general issue presented here?
<cosmin.apreutesei@...> wrote:
>are
> --- In firebird-support@yahoogroups.com, Adriano dos Santos Fernandes
> <adrianosf@> wrote:
> >
> > woodsmailbox escreveu:
> > >> Also note that if you had where field = :p (and :p changes) you
> > >> going to have different results depending if an index is used orI was only curious what equivalent construct you could find in oracle
> not...
> > >
> > > Semantics of code depending on wherever you have indexes or not?
> > > Scary, to say the least.
> > >
> > I done a test in Oracle and result was identical to Firebird.
> >
> >
> > Adriano
> >
>
> Can you please post the oracle version of the test?
>
since it doesn't have the "for select" construct. In case it was a
cursor (was it?) AFAIK you can't re-evaluate a cursor from inside the
loop except if you close/open it again.
Anyway, forgive me for insisting on it, but is there any documentation
that deals with the general issue presented here?