| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Rodney Broom | Date: | September 19 2002 6:01pm |
| Subject: | Re: Auto Increment ID of Inserted Row | ||
| View as plain text | |||
From: Steven Kreuzer <skreuzer@stripped> > SELECT MAX(id_field) FROM table > On Thursday, September 19, 2002, at 12:55 PM, Davis, Tim wrote: > > What is the SQL to get the created AutoInc ID from a row that I > > have just inserted? More formally, you can do this: SELECT LAST_INSERT_ID(); --- Rodney Broom President, R.Broom Consulting http://www.rbroom.com/
| Thread | ||
|---|---|---|
| • Auto Increment ID of Inserted Row | Tim Davis | 19 Sep |
| • Re: Auto Increment ID of Inserted Row | Paul DuBois | 19 Sep |
| • Re: Auto Increment ID of Inserted Row | Steven Kreuzer | 19 Sep |
| • Re: Auto Increment ID of Inserted Row | Paul DuBois | 19 Sep |
| • Re: Auto Increment ID of Inserted Row | Rodney Broom | 19 Sep |
| • Re: Auto Increment ID of Inserted Row | Dan Nelson | 19 Sep |
| • RE: Auto Increment ID of Inserted Row | Michael Tam | 19 Sep |
