From: Jon Sime <jsime@mediamatters.org>
To: Abraham, Danny <danny_abraham@bmc.com>
Cc: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: How do I do a dynamic - select now() + interval X days ?
Date: Wed, 08 Aug 2007 11:16:09 -0400
Message-ID: <46B9DE39.2030608@mediamatters.org> (raw)
In-Reply-To: <F8B9B12641FB6B4FAC761BDEF9D63B040E15A690@tlv-ex-01.adprod.bmc.com>
References: <F8B9B12641FB6B4FAC761BDEF9D63B040E15A690@tlv-ex-01.adprod.bmc.com>
Abraham, Danny wrote:
> Thanks
For doing that based on an arbitrary value, just do the following:
select now() + interval '1 day' * X;
-Jon
--
Senior Systems Developer
Media Matters for America
http://mediamatters.org/
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-admin@postgresql.org
Cc: jsime@mediamatters.org, danny_abraham@bmc.com
Subject: Re: How do I do a dynamic - select now() + interval X days ?
In-Reply-To: <46B9DE39.2030608@mediamatters.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