From: Alex Kloss <alexkloss@att.net>
To: yogesh <yogesh.arora.daffodil@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Drop Not Null
Date: Thu, 18 Oct 2007 19:20:39 -0400
Message-ID: <4717EA47.2080701@att.net> (raw)
In-Reply-To: <1192687310.749557.227290@q5g2000prf.googlegroups.com>
References: <1192687310.749557.227290@q5g2000prf.googlegroups.com>
yogesh wrote:
> Hello Frnds,
> What is the Command to drop the Not Null Constraint from a Column
> of the Table.....Please reply asap.............
>
> Regards,
> Yogesh Arora.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>
ALTER TABLE table ALTER COLUMN column DROP NOT NULL
See http://www.postgresql.org/docs/8.2/interactive/ddl-alter.html#AEN2311
for more information about dropping constraints.
Alex Kloss
Attachments:
signature.asc (application/pgp-signature, 188B) download
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-admin@postgresql.org
Cc: alexkloss@att.net, yogesh.arora.daffodil@gmail.com
Subject: Re: Drop Not Null
In-Reply-To: <4717EA47.2080701@att.net>
* 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