I do not know how to remove it but you could

ALTER TABLE <table_name> MODIFY(<column> DEFAULT NULL);

Rick


                                                                                       
                              
                    johanna.doran@s                                                    
                              
                    ungard.com             To:     Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>       
                    Sent by:               cc:                                         
                              
                    [EMAIL PROTECTED]        Subject:     Syntax For Dropping a default 
value?                         
                    m                                                                  
                              
                                                                                       
                              
                                                                                       
                              
                    05/03/2002                                                         
                              
                    11:13 AM                                                           
                              
                    Please respond                                                     
                              
                    to ORACLE-L                                                        
                              
                                                                                       
                              
                                                                                       
                              




Hi,

           Been searching for syntax to drop a default value (we decided
NOT to use the default value) for a colmun.
  I looked in the docs and even tried to remove the default value via DBA
Studio.

No go.  Can you not modify a column to REMOVE a default value
specification?

Thanks,

           Hannah

(Its NOT in the docs.)
--
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).




-- 
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).

Reply via email to