| От | |
|---|---|
| Тема | Math Operations - DB or App? |
| Дата | |
| Msg-id | 20060509194449.21692.qmail@web33306.mail.mud.yahoo.com обсуждение |
| Ответы |
Re: Math Operations - DB or App?
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера