Re: MySQL <-> Oracle8
| From: | Dieter Kneffel | Date: | Mon, 05 Jun 2000 18:03:29 +0000 |
| Subject: | Re: MySQL <-> Oracle8 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1070@lists.php.net to get a copy of this message | ||
Looks like a good idea, basically. But what happens, if there is high
load on the server and a new entry is inserted into the table between
my previous insert and this query?
Thanks,
Dieter
Ryan Adams schrieb:
> you've probably already thought of this but what about
>
> "select max(my_auto_increment_field) from mytable"?
>
> On Mon, Jun 05, 2000 at 02:39:00AM +0200, Dieter Kneffel wrote:
> > I need to get the ID generated from a previous INSERT operation.
> >
> > Is there an equivalent PHP/Oracle8 function for 'mysql_insert_id()'
> > using MySQL?
> > If not, how can I make a simple workaround?
> >
> >
> > Tnx,
> >
> > Dieter