
27 Nov
2007
27 Nov
'07
7:41 p.m.
On 27-11-2007 20:24:02 +0100, Martin Kersten wrote:
So if I use SERIAL or AUTOINCREMENT columns, what is the way to get the most recently inserted ID? (Am assumming it's not possible?)
how about a max() over the column?
how about concurrent inserts ;-(
begin doit commit
Shame on you, Martin. Indeed, retrieve the next value from the sequence, and use it in your program to do the insert.