serial type question

Поиск
Список
Период
Сортировка
От Ray Hunter
Тема serial type question
Дата
Msg-id 1037217368.6700.113.camel@pclnxrhunter.digitalglobe.com
обсуждение исходный текст
Ответы Re: serial type question
Список pgsql-php
I have a php script that will be inserting from a form into two tables.

Table1 has a serial data type.
Table2 references Table1's serial data type (PK).

Here are my questions:
1. Can i run a transaction process from php? If yes, how?
2. How can i get the serial value for inserting into the 2nd table?


--
Thank you,

Ray Hunter



В списке pgsql-php по дате отправления:

Предыдущее
От: "David Busby"
Дата:
Сообщение: Re: Need to select and update with the same sql statement
Следующее
От: "Phil Geer"
Дата:
Сообщение: Re: serial type question