Re: Update from a table.

Поиск
Список
Период
Сортировка
От Mo Holkar
Тема Re: Update from a table.
Дата
Msg-id 5.1.0.14.2.20011123173229.04a5ab30@pop.ntlworld.com
обсуждение исходный текст
Ответ на Re: Update from a table.  ("Mark G. Franz" <mgfranz@pe.net>)
Список pgsql-novice
At 15:12 23/11/01, you wrote:
>Last I checked, you cannot perform arithmetic functions inside a query.  I
>suggest retrieving the values, do the math, then update.


You can perform all sorts of arithmetic operations inside a query in
Postgres, although sometimes you ave to be a bit clever with the syntax.
(I'm not sure how much of it is strict SQL92 though.) It would be a
nightmare working with datetimes if you couldn't subtract them from each
other, add intervals, etc.

best,

Mo



Mo Holkar
Digital Mind Games -- log on to take over
mo.holkar@digitalmindgames.com
http://www.digitalmindgames.com


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

Предыдущее
От: Frank Bax
Дата:
Сообщение: Re: Update from a table.
Следующее
От: David Link
Дата:
Сообщение: bug tracking system