mysql_insert_id returns the correct value to my application when I insert a
single
row using the INSERT...VALUES syntax.  However, when I insert multiple rows,
it always returns 0.  This is inconsistent with the behavior of
LAST_INSERT_ID,
which returns the id of the first row.

Has anyone else observed this behavior?  I haven't found anything in the
archives.

I'm using client 3.23.47.  I get the same behavior on win2k and RH 2.2.19.
The
server is also 3.23.47 and runs on RH 2.2.19.

Regards,
Michael


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to