pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sreejith s <getsreejith@gmail.com>
To: pgsql-sql@postgresql.org
Subject: SQL doubt - Date Add
Date: Sun, 10 Oct 2004 19:49:57 +0530
Message-ID: <5d14ecf904101007197d0acbbf@mail.gmail.com> (raw)

Hi friends,
              I problem is i want to add a specified no. of years to a
given date
ie, 12/12/2004 + 5 = 12/12/2009. This has to be done via sql. Any 
predefined function there for the same. or v have split the yr and
then add.
Sreejith



view thread (4+ messages)  latest in thread

Message-ID: <5d14ecf904101007197d0acbbf@mail.gmail.com>
Permalink:  ../5d14ecf904101007197d0acbbf@mail.gmail.com/
Also on:    postgresql.org/message-id/5d14ecf904101007197d0acbbf@mail.gmail.com

 · 

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: getsreejith@gmail.com
  Subject: Re: SQL doubt - Date Add
  In-Reply-To: <5d14ecf904101007197d0acbbf@mail.gmail.com>

* 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