Re: [Pgsql-ayuda] insertar datos NULL

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: sandrigo lezcano <alkafes(at)yahoo(dot)com>
Cc: pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: Re: [Pgsql-ayuda] insertar datos NULL
Date: 2003-08-28 05:28:19
Message-ID: 20030828052819.GC7382@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Wed, Aug 27, 2003 at 04:39:11PM -0500, sandrigo lezcano wrote:
> hay alguna palabra reservada
> q me sirva para decirle al PostgreSQL
> q el dato a ser inserido en tal campo
> es nulo ???

NULL

> INSERT INTO paises VALUES (
> 1,
> 'PARAGUAY',
> NULL,
> 'PARAGUAYA');

Esto debería funcionar. Si no lo hace, PowerBuilder está haciendo algo
raro.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Someone said that it is at least an order of magnitude more work to do
production software than a prototype. I think he is wrong by at least
an order of magnitude." (Brian Kernighan)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2003-08-28 14:48:37 Re: [Pgsql-ayuda] Clusters y PGSQL
Previous Message Jose Joaquin Lorente Garcia 2003-08-28 05:20:12 Re: [Pgsql-ayuda] Re: postgresql 7.3.4 en solaris 8