Re: MDB - insert query

From: Date: Fri, 07 Mar 2003 17:44:24 +0000
Subject: Re: MDB - insert query
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4096@lists.php.net to get a copy of this message
Lukas Smith wrote:
Seems to me that I want to use last_value(), since I want to get the current ID independent of the connection.
Yep, this is why I said I don't know the semantics. If the goal of the function was "to provide the id of the just inserted row" then you should use currval().

« previous php.pear.general (#4096) next »