RE: How to Get the New Number inserted in a AutoIncrement Field

2001-11-14 Thread Rick Emery
LAST_INSERT_ID() is what you need. -Original Message- From: ROGGER ALEXIS VASQUEZ MARTINEZ [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 4:45 PM To: [EMAIL PROTECTED] Subject: How to Get the New Number inserted in a AutoIncrement Field I know that this is a old question

Re: How to Get the New Number inserted in a AutoIncrement Field

2001-11-13 Thread Robert Alexander
http://www.mysql.com/doc/G/e/Getting_unique_ID.html HTH, /Rob >I know that this is a old question, but >I really need to know how can I get the >number that Mysql use in a autoincrement field >of a record I just inserted ... >Is there any function like LAST_INSERTED or >something like that ...

How to Get the New Number inserted in a AutoIncrement Field

2001-11-13 Thread ROGGER ALEXIS VASQUEZ MARTINEZ
I know that this is a old question, but I really need to know how can I get the number that Mysql use in a autoincrement field of a record I just inserted ... Is there any function like LAST_INSERTED or something like that ... Thanks a lot ---