Re: A couple of newbie questions ... - Mailing list pgsql-general

From Tino Wildenhain
Subject Re: A couple of newbie questions ...
Date
Msg-id 48878236.40405@wildenhain.de
Whole thread Raw
In response to Re: A couple of newbie questions ...  (Shane Ambler <pgsql@Sheeky.Biz>)
List pgsql-general
Shane Ambler wrote:
> Raymond O'Donnell wrote:
>
...
>> INSERT INTO table (fld_y, fld_z) VALUES ('y', 'z');
>
> Another way is INSERT INTO table VALUES (NULL,'y','z')

of course you meant:

INSERT INTO table VALUES (DEFAULT,'y','z')

since Null would be wrongly insert NULL value instead
of using the sequence value.

Regards
Tino



Attachment

pgsql-general by date:

Previous
From: dpage@pgadmin.org
Date:
Subject: Re: mac install question
Next
From: Keaton Adams
Date:
Subject: Equality search on timestamp value returns no rows