On May 31, 2004, at 8:46 AM, Ted Roche wrote:
> You can use the @@IDENTITY value to return the last autoincremented > value:
This is available in versions of MySQL >= 3.23.25. It is a synonym for the native MySQL construct: SELECT LAST_INSERT_ID() in order to make MySQL more compatible with other databases.
___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://dabodev.com/
©2004 Ed Leafe |