Re: Auto-increment value
| From: | Marek Kilimajer | Date: | Wed, 18 Sep 2002 09:42:09 +0000 |
| Subject: | Re: Auto-increment value | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116703@lists.php.net to get a copy of this message | ||
As he uses postgresql, he should use *pg_last_oid()*
Scott Houseman wrote:
Hi there. You can use the function mysql_insert_id( [link id] ). regards Scott Faisal Abdullah wrote:Hi people, I have a table with a column called ID (auto-increment). Is it possible to know the value of ID, right after inserting a row? I'm using postgresql. Thanks. Sincerely, Faisal ______________________________________