Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to set a column not using default value
well, if "alter table APP modify APP_STATUS varchar2(10) default NULL"
doesn't work, then "alter table APP modify APP_STATUS varchar2(10)" would do
it.
-- Steve - CloudSpace New Media steve_at_cloudspace.com http://www.cloudspace.com "Jenny" <jennyw_at_housing.tamu.edu> wrote in message news:9ugkfh$17e$1_at_news.tamu.edu...Received on Mon Dec 03 2001 - 14:23:47 CST
> Statement "alter table APP modify APP_STATUS default NULL" sets default to
> NULL. That is different from no default value. Thanks anyway!
>
> Jenny
>
> "fred" <anon_at_spain.es> wrote in message news:3C0BBD62.8F6C84AC_at_spain.es...
> > Try:
> > alter table APP modify APP_STATUS default NULL
> >
> > Anthony Hogan
> > hogananthony_at_hotmail.com
> >
> > Jenny wrote:
> > >
> > > I have a column VARCHAR2(10) with default value set to 'W'. Now I need
> to
> > > set it not using default. I tried to delete the default value in DBA
> Studio,
> > > I got "missing expression" message. I also tried sql statement "alter
> table
> > > APP modify APP_STATUS default", I got same message "missing
> expression".
> > > (I'm using Oracle 8.1.5. running on NT machine.) Thanks in advance!
> > >
> > > Jenny
> > > jennyw_at_housing.tamu.edu
>
>
>
![]() |
![]() |