[Pgsql-ayuda] insertar datos NULL

Alvaro Herrera alvherre@dcc.uchile.cl
Thu, 28 Aug 2003 01:28:19 -0400


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)