Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Drop 'NOT NULL' Constraint
I think that if there is already data in the column you will not be able to do that.
-----Original Message-----
Sent: Wednesday, May 23, 2001 5:15 PM
To: Multiple recipients of list ORACLE-L
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?
Also:
How does one figure out which generated constraints (from user_constraints) do what?
Chris Rezek
Database Administrator
DotClick
http://www.dotclick.com
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Chris Rezek INET: crezek_at_dotclick.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-LReceived on Wed May 23 2001 - 16:58:57 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Kevin Kostyszyn INET: kevin_at_dulcian.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).