main logo
Subject: RE: Remote Views
Author: "Derek J. Kalweit"
Posted: 2004/05/31 11:33:50
 
View Entire Thread
New Search


> > 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.

FWIW, there's also a bug in certain versions of MySQL(fixed in current) when using "@@identity"(lower case). Something to keep in mind...


--
Derek


 
©2004 Derek J. Kalweit
<-- Prior Message New Search Next Message -->