alter column - NOT NULL

From: "Tom Haddon" <tom(at)betterhealthfoundation(dot)org>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: alter column - NOT NULL
Date: 2002-06-04 23:04:03
Message-ID: NEBBIHDGCLBEJMPFAMLAOEBDCGAA.tom@betterhealthfoundation.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

Kind of a basic one here. I am trying to change a column so that it has the
property of NOT NULL. How do I do this? I have been able to add the column
to a table, and to set its default value with the ALTER command, but this
one escapes me. If you could provide an example that would be very useful.

Thanks, Tom

_______________________________
Tom Haddon
IT Director
The Better Health Foundation
414 Thirteenth Street, Suite 450
Oakland, CA 94612
(510) 444-5096
www.betterhealthfoundation.org
________________________________

Browse pgsql-sql by date

  From Date Subject
Next Message Rui Pacheco 2002-06-04 23:26:02 Re: Some problems with (my?) PlSQL
Previous Message Stephan Szabo 2002-06-04 22:18:19 Re: Some problems with (my?) PlSQL