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: How to get rid of a column default value ?

Re: How to get rid of a column default value ?

From: <Dale_at_DataBee.com>
Date: Fri, 04 Oct 2002 08:05:23 -0800
Message-ID: <F001.004E0D07.20021004080523@fatcity.com>


Hi Louis

> Anyone knows how to get rid of a column default value ? I rtfm and
search
> metalink with no luck.

Just set the default back to NULL.

To apply the default:
ALTER TABLE "BONUS" MODIFY ("COMM" DEFAULT 10 ); To remove the default:
ALTER TABLE "BONUS" MODIFY ("COMM" DEFAULT NULL ); Regards
Dale



Check out the freeware DBATool: generate DDL recreation scripts and instant schema documentation via DDL to HTML conversion. http://www.DataBee.com/dt_home.htm
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Dale_at_DataBee.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Oct 04 2002 - 11:05:23 CDT

Original text of this message

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