From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Mario de Frutos Dieguez <van-support(at)cartif(dot)es> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Introducir un NULL en integer |
Date: | 2005-10-04 13:53:00 |
Message-ID: | 20051004135300.GG5190@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On Tue, Oct 04, 2005 at 08:43:00AM +0200, Mario de Frutos Dieguez wrote:
> Tengo campos para guardar los distintos elementos de una fecha en campos
> integer (día,mes y año) pero en ocasiones quiero dejar por ejemplo el día en
> blanco. Cuando lo introduzco en la base de datos en blanco (uso para ello
> php) me da un warning, tambien he intentando introducir NULL pero tampoco me
> deja.
>
> Mi pregunta es, ¿Que debo hacer para introducir un blanco en un elemento de
> tipo integer?
Quizas tienes un NOT NULL en esa columna?
--
Alvaro Herrera http://www.PlanetPostgreSQL.org
"If you have nothing to say, maybe you need just the right tool to help you
not say it." (New York Times, about Microsoft PowerPoint)
From | Date | Subject | |
---|---|---|---|
Next Message | Clarisa Savio Obeid | 2005-10-04 13:55:22 | consulta sentencia SQL |
Previous Message | JucaviLst | 2005-10-04 13:35:44 | Tamaño |