| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: Transactions (Really Simple) |
| Дата | |
| Msg-id | 20020226234429.B21571@svana.org обсуждение |
| Ответ на | Transactions (Really Simple) (Marcelo Pereira <gandalf@sum.desktop.com.br>) |
| Список | pgsql-general |
On Tue, Feb 26, 2002 at 09:07:33AM -0300, Marcelo Pereira wrote:
> How could I implement transaction feature to the `insert command' bellow?
>
> -------------------------------
> ...... which command here?
begin;
> insert into table1 (field11,field12) values ('value11','value12')
> insert into table2 (field21,field22) values ('value21','value22')
> ...... which command here?
commit;
> -------------------------------
HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> If the company that invents a cure for AIDS is expected to make their
> money back in 17 years, why can't we ask the same of the company that
> markets big-titted lip-syncing chicks and goddamn cartoon mice?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера