Re: [GENERAL] mysql's last_insert_id

2003-09-01 Thread Bo Lorentsen
On Fri, 2003-08-29 at 04:11, Martijn van Oosterhout wrote: > OIDs have never beebn unique, it's just that most databases never get big > enough to experience wraparound. They are also now optional per table and > may soon no longer be available by default. It would be a god idea to remove the oid

Re: [GENERAL] mysql's last_insert_id

2003-08-29 Thread Martijn van Oosterhout
On Thu, Aug 28, 2003 at 02:52:57PM +0200, Bo Lorentsen wrote: > On Thu, 2003-08-28 at 10:02, Dennis Björklund wrote: > > > Yes, never use the oid at all is my suggestion. > Hmm, will oid's not change so that they are unique regardless, or will > oid be removed. OIDs have never beebn unique, it's

Re: [GENERAL] mysql's last_insert_id

2003-08-28 Thread Stuart
Michal Adamczakk wrote: hi, how to implement mysql's last_insert_id() ? i know that seqences and oids are great. the one thing i miss is that they are not session specific. i mean selecting last_value from seqence can give me a value which was inserted by a different user. regards Michal The cur

[GENERAL] mysql's last_insert_id

2003-08-27 Thread Michal Adamczakk
hi, how to implement mysql's last_insert_id() ? i know that seqences and oids are great. the one thing i miss is that they are not session specific. i mean selecting last_value from seqence can give me a value which was inserted by a different user. regards Michal ---(