last value

From: Roni Warken <rwarken(at)gmail(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: last value
Date: 2005-05-04 12:18:12
Message-ID: d4af7dcf05050405184e0ea8e9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

I tried to search some thread that could help me, but didn't find
anything (maybe because I didn't know how to search).

I have a script that insert some values in a table. After this, I have
to take the value of the primary key just inserted, and insert it in
another table, all in the same script.

How can I do that? Or if you have a better idea of how to get the last
value and insert in the other table, please tell me.

Thanks.
--
Roni Warken

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Pawel Bernat 2005-05-04 13:09:33 Re: last value
Previous Message Christopher Kings-Lynne 2005-05-03 01:22:44 Re: Determining transaction status