Re: Err sum number with Date ?

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: "Robson Martins" <robson-martins(at)bol(dot)com(dot)br>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Err sum number with Date ?
Date: 2002-06-13 19:59:49
Message-ID: NEBBLAAHGLEEPCGOBHDGIEBIFCAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Robson-

In this, and your last question, the problem is that you are using functions
from Microsoft Access. You'll keep running into this until you learn about
the equivalent functions in PostgreSQL.

The PostgreSQL functions are explained here:
http://www.postgresql.org/idocs/index.php?functions.html

You may also want to learn how to create your own functions in case there is
no equivalent:

http://www.postgresql.org/idocs/index.php?sql-createfunction.html

-Nick
--------------------------------------------------------------------------
Nick Fankhauser nickf(at)ontko(dot)com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/

-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org]On Behalf Of Robson Martins
Sent: Thursday, June 13, 2002 2:30 PM
To: pgsql-admin(at)postgresql(dot)org
Subject: [ADMIN] Err sum number with Date ?

What err ?

Order By (Sum(Qtde)/(1+current_date-Max(Data))) Desc

Regards,

Robson

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message DHSC Webmaster 2002-06-13 20:34:55 Re: Indexes on separate disk ?
Previous Message Charlie Toohey 2002-06-13 19:49:39 Indexes on separate disk ?