Does anyone know how to remove the default value from a column? The following script illustrates:
set long 40 drop table i; create table i ( i varchar2(10) null); alter table i modify ( i default null ); select column_name, nullable, data_default from user_tab_columns where table_name = 'I' / drop table i; create table i ( i varchar2(10) null); select column_name, nullable, data_default from dba_tab_columns where table_name = 'I' / The string for the default value is not a constraint. It is stored in sys.col$.default$. There doesn't seem to be any way to remove the default value for a column once it's set. I've peruse TFM quite a bit, did a google search: nothing helpful. Jared -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
