> You aren't having to worry about this. last_insert_id is per connection, > and not confused by activitiy across connections. Otherwise, mySQL is > decidely non-transactional. postgresql has that. This may be way beside any point made in this thread, but: nope. As of version 3.23.x, MySQL implements transactions. /Danni