int a date

From: Ruben Curto <rubencurto(at)virtualia(dot)com(dot)ar>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: int a date
Date: 2007-07-23 15:52:57
Message-ID: 46A4CED9.4145@virtualia.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hola lista, es posible convertir un campo entero a tipo fecha?
Ej.:

# select numero::date + '10 days'::interval from tabla;
Cannot cast type 'int4' to 'date'

Muchas gracias

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Mario Gonzalez 2007-07-23 16:10:34 Re: int a date
Previous Message Gunnar Wolf 2007-07-23 15:49:21 Re: int a date