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

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 (view raw or flat)
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

pgsql-es-ayuda by date

Next:From: Mario GonzalezDate: 2007-07-23 16:10:34
Subject: Re: int a date
Previous:From: Gunnar WolfDate: 2007-07-23 15:49:21
Subject: Re: int a date

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