ako zistit ake ID dal mysql pri inserte cez auto_increment ?
yeti na seznam.cz
yeti na seznam.cz
Pátek Září 6 11:26:45 CEST 2002
> A je to spolehlivé u konkuretního přístupu?
> Drží si to kontext v rámci session?
ano, viz dokumentace manual_Clients.html#Getting_unique_ID
The most recently generated ID is maintained in the server on a
per-connection basis. It will not be changed by another client. It will not
even be changed if you update another AUTO_INCREMENT column with a non-magic
value (that is, a value that is not NULL and not 0).
Další informace o konferenci Databases