From: | "Ramakrishnan Muralidharan" <ramakrishnanm(at)pervasive-postgres(dot)com> |
---|---|
To: | "Roni Warken" <rwarken(at)gmail(dot)com>, <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: last value |
Date: | 2005-05-05 04:37:55 |
Message-ID: | 02767D4600E59A4487233B23AEF5C59922C2A4@blrmail1.aus.pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Hi,
Create a Trigger for the first table for updating the primary key of the fist table into second table
Regards,
R.Muralidharan
-----Original Message-----
From: pgsql-php-owner(at)postgresql(dot)org
[mailto:pgsql-php-owner(at)postgresql(dot)org]On Behalf Of Roni Warken
Sent: Wednesday, May 04, 2005 5:48 PM
To: pgsql-php(at)postgresql(dot)org
Subject: [PHP] last value
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
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2005-05-05 05:08:46 | Re: Passing Array Variable Through Sessions |
Previous Message | operationsengineer1 | 2005-05-05 04:26:05 | Passing Array Variable Through Sessions |