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: (view raw or whole thread)
Lists: pgsql-es-ayuda
Hola lista, es posible convertir un campo entero a tipo fecha?

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

Muchas gracias


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-2015 The PostgreSQL Global Development Group