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: Magaliff, Bill <Bill.Magaliff_at_lendware.com>
Date: Fri, 03 May 2002 07:38:59 -0800
Message-ID: <F001.0045752B.20020503073859@fatcity.com>


try this:

alter table <table_name>
modify <column_name>
default null;

-----Original Message-----
Sent: Friday, May 03, 2002 11:13 AM
To: Multiple recipients of list 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: Magaliff, Bill
  INET: Bill.Magaliff_at_lendware.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 - 10:38:59 CDT

Original text of this message

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