Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Changing a column to not null and vice versa

Re: Changing a column to not null and vice versa

From: Ganesh Raja <ganesh_at_gtfs-gulf.com>
Date: Thu, 14 Feb 2002 09:14:25 +0400
Message-ID: <nrhm6ukrijhmu3lpdd2b21t67ecq8encmo@4ax.com>


ALter Table <tablename> modify Column Not Null

But Be Aware that the table should be empty to do this.

ALter Table <tablename> modify Column Null

HTH On Thu, 14 Feb 2002 11:54:54 +0800, "Christopher Kings-Lynne" <chriskl at familyhealth dot com dot au> wrote:

>Hi Oracle Guys,
>
>I'm a PostgreSQL developer and we wish to implement changing the nullability
>of a column. We are researching all the different syntaxes, standard and
>otherwise, for changing a column to NOT NULL and vice versa.
>
>So, what is the exact syntax in Oracle for make a NULL column NOT NULL and
>vice versa.
>
>I've tried reading the docs, but I'd prefer to see some actual examples.
>
>It would be much appreciated!
>
>Chris
>

[Additions and Corrections Always Welcome.] Best Regards,
Ganesh R Received on Wed Feb 13 2002 - 23:14:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US