Math Operations - DB or App?

Поиск
Список
Период
Сортировка
От
Тема Math Operations - DB or App?
Дата
Msg-id 20060509194449.21692.qmail@web33306.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: Math Operations - DB or App?  (Sean Davis <sdavis2@mail.nih.gov>)
Список pgsql-novice
i'm in the process of developing some reports for an
application i'm developing.

i'm curious how the more experienced developers do
their math operations.  do you do it in your select or
do you do it in your app?

i can't give an example within a select (that's what
i'm researching next).

an example of doing the math in the app (php) would be
getting a value $p for number of passed units and a
value $t for total units and then setting yield to $y
= $t/$p.

what do you do and why?  what are the pluses and
minuses of each approach?

as always, tia...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: Sean Davis
Дата:
Сообщение: No quoting in copy CSV mode
Следующее
От:
Дата:
Сообщение: Math Query Help