Re: newbie question

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: newbie question
Дата
Msg-id 20060303110447.GA7322@merkur.hilbert.loc
обсуждение исходный текст
Ответ на newbie question  (ivan marchesini <marchesini@unipg.it>)
Список pgsql-sql
On Fri, Mar 03, 2006 at 10:43:09AM +0100, ivan marchesini wrote:

> I have fastly created a table in a postgresql database..
> some columns where edited by hand (columns A, B, C), and some others
> (columns D, E, F) have been calculated as a result of mathematical
> equation (where the factors are the A, B, C columns)....
> now I simply need to change some values in the A, B, C columns and I
> would like to obtain the correct values in the D, E, F column...
> I know that this is a tipical problem of a spreadsheet but how can I
> solve it with a DBMS??

Use triggers or a view.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: newbie question
Следующее
От: ivan marchesini
Дата:
Сообщение: Re: newbie question