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

Home -> Community -> Usenet -> c.d.o.tools -> Re: A simple question, I hope

Re: A simple question, I hope

From: Reidel Jogie <reidel_at_usa.net>
Date: Sat, 09 Jun 2001 03:27:10 GMT
Message-ID: <iIgU6.64451$G5.14064108@news1.rdc1.md.home.com>

Have a look a SEQUENCES. You can select the next value of a sequence into the ID field in a BEFORE INSERT ROW trigger.

In article <vO%T6.1896$c37.193703_at_newsread1.prod.itd.earthlink.net>, "Darryl" <dfs_at_nospam.com> wrote:

> How do I get the trigger-generated ID number for the row I just added to
> a table? I can't do a SELECT MAX(ID) because it's a high transaction
> system.
>
> Thanks,
> Darryl
>
>
Received on Fri Jun 08 2001 - 22:27:10 CDT

Original text of this message

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