[gameprogrammer] Slightly offtopic: SQL Command

If I use the SQL command INSERT to insert a row into a table which has a primary key with the serial property, to automatically generate a per-row unique ID, how do I get the ID of the thing I just inserted? Should I immediately query for the newest ID?

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: