Skip site navigation (1) Skip section navigation (2)

Convert INT to INTERVAL?

From: Brian Knox <laotse(at)aol(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Convert INT to INTERVAL?
Date: 2004-02-27 16:54:04
Message-ID: 403F762B.20002@aol.net (view raw or flat)
Thread:
Lists: pgsql-sql
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

Responses

pgsql-sql by date

Next:From: Stephan SzaboDate: 2004-02-27 17:28:00
Subject: Re: Convert INT to INTERVAL?
Previous:From: Bruno Wolff IIIDate: 2004-02-27 13:46:53
Subject: Re: BUG #1083: Insert query reordering interacts badly with

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group