just checking

From: "postgresql" <pgsql(at)symcom(dot)com>
To: "PgSQL-SQL" <pgsql-sql(at)postgresql(dot)org>
Subject: just checking
Date: 2001-08-22 19:37:35
Message-ID: 200108221932.f7MJWrP11421@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

At times things seem just too easy, so I want to confirm that this is the
correct syntax.

I am looking for the interval (aging) for these invoices. I guess I am
concerned because I guessed at the syntax. Is there a better way to do
this?

billdate is type 'date'

SELECT ('now'-billdate) FROM fcinvoiced WHERE client = 'smith';

Ted

Browse pgsql-sql by date

  From Date Subject
Next Message Murray Hobbs 2001-08-22 22:01:07 protected ON DELETE CASCADE
Previous Message Peter Eisentraut 2001-08-22 16:09:41 Re: [SQL] Altering pg_conndefaults