Re: Pls Hlp: SQL Problem

Поиск
Список
Период
Сортировка
От Fernando Hevia
Тема Re: Pls Hlp: SQL Problem
Дата
Msg-id 00e901c91523$2c633e70$8f01010a@iptel.com.ar
обсуждение исходный текст
Ответ на Re: Pls Hlp: SQL Problem  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Ответы Re: Pls Hlp: SQL Problem  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-sql
 

> -----Mensaje original-----
> De: pgsql-sql-owner@postgresql.org 
> [mailto:pgsql-sql-owner@postgresql.org] En nombre de Scott Marlowe
> 
> On Fri, Sep 12, 2008 at 12:50 PM, Hengky Lie 
> <hengkyliwandouw@gmail.com> wrote:
> > Dear Richard,
> >
> 
> Put parens around the whole thing, like:
> 
> (tbltransaksi.hargapokok * tbltransaksi.keluar)::numeric(2,0) AS modal
> 

Consider that if you are NOT going to use the decimals you should really use
integer or bigint datatypes. The numeric type compute much slower than
integer datatypes.

Regards,
Fernando



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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Doubts about FK
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Pls Hlp: SQL Problem