Re: Another Database SQL Update question

Tech-Archive recommends: Fix windows errors by optimizing your registry



I think what is going on here is that at one point, I had a problem that
made no sense and I decided that _TALLY wasn't reliable.

Meanwhile, as I said earlier, it is all over my code.

When I use it, I use it the way everyone says it should be used.

I do SELECT......FROM..... and then I immediately capture the value of
_TALLY

I think I'll go back to trusting it since all of the places where I use it,
it works just fine.

Thanks,
Jeff

"Gene Wirchenko" <genew@xxxxxxxx> wrote in message
news:bh5dr3dkqgt9msitoegno4593a6hfe5rnk@xxxxxxxxxx
"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote:

The mistake most people make with _Tally is that there are other commands
besides queries that set it. You have to grab the value *immediately*
after
a query or you might get a _Tally for some other action.

I've never seen it give a wrong value.

I go with Dan here. When I use it, I use it immediately,
typically:
<_tally value generating statement>
howmany=_tally
The assignment is before anything else, period.

This problem is reminescent of the parameters() function which
could throw one for a loop due to an OKL triggering.

[snip]

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


.



Relevant Pages

  • Re: [C, C++] "(a=b) = c;" Illegal or Undefined?
    ... Dan himself was only made aware of recently WRT this issue. ... Assignment operators are concerned with the _address_ of their left ... conclude its work before another processor completes evaluation of the ... evaluations (if it left the complex expressions for last, ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Multiple variable assignments in ksh
    ... Dan wrote: ... > Is there a way to do multiple variable assignments in ksh on a single ... Though ordering is important in this assignment; ...
    (comp.unix.shell)