pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Haddon <tom@betterhealthfoundation.org>
To: pgsql-sql@postgresql.org
Subject: alter column - NOT NULL
Date: Tue, 4 Jun 2002 16:04:03 -0700
Message-ID: <NEBBIHDGCLBEJMPFAMLAOEBDCGAA.tom@betterhealthfoundation.org> (raw)

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
________________________________




Message-ID: <NEBBIHDGCLBEJMPFAMLAOEBDCGAA.tom@betterhealthfoundation.org>
Permalink:  ../NEBBIHDGCLBEJMPFAMLAOEBDCGAA.tom@betterhealthfoundation.org/
Also on:    postgresql.org/message-id/NEBBIHDGCLBEJMPFAMLAOEBDCGAA.tom@betterhealthfoundation.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tom@betterhealthfoundation.org
  Subject: Re: alter column - NOT NULL
  In-Reply-To: <NEBBIHDGCLBEJMPFAMLAOEBDCGAA.tom@betterhealthfoundation.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox