Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Drop 'NOT NULL' Constraint
On Wed, 23 May 2001, Chris Rezek wrote:
> I created a table with a 'NOT NULL' constraint on a VARCHAR2 column. I
> would like to remove the NOT NULL constraint. I've tried a couple of
> 'ALTER TABLE' commands but no luck.
>
> How does one do this?
alter table foo
modify (bar null);
Cheers,
GC
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Gregory Conron INET: gconron_at_hfx.andara.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed May 23 2001 - 19:50:52 CDT