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

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to drop a default value for a column

Re: How to drop a default value for a column

From: Michael O'Shea <mdo_remove_at_strychnine.co.uk>
Date: 29 Nov 2005 01:20:28 -0800
Message-ID: <1133256027.972953.197900@g43g2000cwa.googlegroups.com>


Hi Kalle

ALTER TABLE xxx
 MODIFY (col1 DEFAULT NULL);

Regards

Mike O'Shea
http://www.strychnine.co.uk

Kalle wrote:
> Hi all,
>
> I have a table
>
> xxx
>
> col1 varchar2(10) default 'x' null,
> col2 varchar2((100) not null
> /
>
> now I would like to drop the default value for col1
>
> How to do it?
>
> rgds
> Kalle
Received on Tue Nov 29 2005 - 03:20:28 CST

Original text of this message

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