what is the equivalent of LAST_INSERT_ID() in mx.ODBC ?

Max M maxm at normik.dk
Fri Dec 21 09:07:46 CET 2001


"Tom Harris" <TomH at optiscan.com>

> SELECT TOP 1 * FROM tbl
> ORDER BY id DESC

Yes I am aware of that, but it can give me conflicting writes. But ok it's a
low write-volume database, and will stay that way, so it will probably work
ok.

regards Max M





More information about the Python-list mailing list