Re: Drop Not Null

From: yogesh <yogesh(dot)arora(dot)daffodil(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Drop Not Null
Date: 2007-10-19 05:39:39
Message-ID: 1192772379.976720.148930@v23g2000prn.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Oct 19, 4:20 am, alexkl(dot)(dot)(dot)(at)att(dot)net (Alex Kloss) wrote:
> 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
>
> Seehttp://www.postgresql.org/docs/8.2/interactive/ddl-alter.html#AEN2311
> for more information about dropping constraints.
>
> Alex Kloss
>
> signature.asc
> 1KDownload

Thx for your Support

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mikko Partio 2007-10-19 06:40:07 Continuous archiving and wal generation
Previous Message Ashish Karalkar 2007-10-19 05:09:38 Re: Drop Not Null