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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Syntax For Dropping a default value?

Re: Syntax For Dropping a default value?

From: <Rick_Cale_at_teamhealth.com>
Date: Fri, 03 May 2002 08:08:27 -0800
Message-ID: <F001.00457685.20020503080827@fatcity.com>

I do not know how to remove it but you could

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

Rick

                                                                                                                     
                    johanna.doran_at_s                                                                                  
                    ungard.com             To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    Sent by:               cc:                                                                       
                    root_at_fatcity.co        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: johanna.doran_at_sungard.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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Rick_Cale_at_teamhealth.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 Fri May 03 2002 - 11:08:27 CDT

Original text of this message

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