From: Fatih Cerit <fatih@intersan.com.tr>
To: pgsql-sql@postgresql.org
Subject: interval +variable
Date: Wed, 9 Mar 2005 10:58:05 +0200
Message-ID: <008a01c52486$1c1c9520$bb41ccd5@cerit> (raw)
Dear all
Is there anyone at there who knows howto use dateadd in pgsql. I have a
problem in my function that is like this ;
Select into futuredate now() + interval '30 days'; <- this is ok
but how can I use a variable intead of '30 days' :(
Thanks
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: fatih@intersan.com.tr
Subject: Re: interval +variable
In-Reply-To: <008a01c52486$1c1c9520$bb41ccd5@cerit>
* 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