pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian Knox <laotse@aol.net>
To: pgsql-sql@postgresql.org
Subject: Convert INT to INTERVAL?
Date: Fri, 27 Feb 2004 11:54:04 -0500
Message-ID: <403F762B.20002@aol.net> (raw)

Is it possible within pl/pgsql, to convert an integer to an interval in 
months? IE, if num_months is an INT set to 48, can it be converted to an 
interval?

Thanks,
Brian



view thread (5+ messages)  latest in thread

Message-ID: <403F762B.20002@aol.net>
Permalink:  ../403F762B.20002@aol.net/
Also on:    postgresql.org/message-id/403F762B.20002@aol.net

 · 

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: laotse@aol.net
  Subject: Re: Convert INT to INTERVAL?
  In-Reply-To: <403F762B.20002@aol.net>

* 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