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

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to select the last item's ID

Re: How to select the last item's ID

From: David Lee <pritino2020_at_yahoo.com.tw>
Date: Wed, 5 Sep 2001 02:00:00 +0800
Message-ID: <9n34a8$2lnie$1@news.shem.etwebs.com>


Thanks a lot for all your help! I know how to do it now!! Once again, thanks!

"David Lee" <pritino2020_at_yahoo.com.tw> ¼¶¼g©ó¶l¥ó news:9n2i6h$2n5t1$1_at_news.shem.etwebs.com...
> After I inserted a row of data, how do I retrieve the auto-increment ID of
> this row ? Because there might be another SQL script also inserting into
> this table at the same time, it is not guaranteed that I will get the
> correct ID by selecting right after inserting. Is there a function for
> this? Thousands of appreciation!!!
>
> Please tell me where I should post this question if I post the wrong
> newsgroup, thanks!!
>
>
Received on Tue Sep 04 2001 - 13:00:00 CDT

Original text of this message

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