pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: postgresql <pgsql@symcom.com>
To: PgSQL-SQL <pgsql-sql@postgresql.org>
Subject: just checking
Date: Wed, 22 Aug 2001 15:37:35 -0400
Message-ID: <200108221932.f7MJWrP11421@postgresql.org> (raw)

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





Message-ID: <200108221932.f7MJWrP11421@postgresql.org>
Permalink:  ../200108221932.f7MJWrP11421@postgresql.org/
Also on:    postgresql.org/message-id/200108221932.f7MJWrP11421@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pgsql@symcom.com
  Subject: Re: just checking
  In-Reply-To: <200108221932.f7MJWrP11421@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox