create summaries and update a second table?

Поиск
Список
Период
Сортировка
От Michelle Konzack
Тема create summaries and update a second table?
Дата
Msg-id 20060104184930.GH2860@freenet.de
обсуждение исходный текст
Ответы Re: create summaries and update a second table?  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-general
Hello *,

I have many tables (one per product) and the are two columns where I
put my buyed and selled pieces.  Second I have a Main-Table with all
products and a summary of the stock.

What I want is, whenever I buy or sell something, the changements
(buy/sell) in the product table must triger an update in the Main-
Table.

I am puzzeling arround, how can this be done.

Any help welcome

Thanks
Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: copy from error
Следующее
От: John DeSoi
Дата:
Сообщение: Re: inserting many rows