Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: NextNumbers Tables

Re: NextNumbers Tables

From: Larry Coon <larry_at_assist.org>
Date: Wed, 12 Feb 2003 11:00:15 -0800
Message-ID: <3E4A99BF.599C@assist.org>


Pablo Sanchez wrote:

> 2) Set a local variable within the UPDATE:
>
> UPDATE mytable
> set @my_next_val = next_val,
> next_val = next_val + 1
> ...
> COMMIT;
Hmm, is the order of evaluation guaranteed? What's to stop a particular implementation from doing the second one first?

Larry Coon
University of California
larry_at_assist.org
and lmcoon_at_home.com Received on Wed Feb 12 2003 - 13:00:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US