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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-sql by date

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