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: Newbie question ...

Re: Newbie question ...

From: Karsten Farrell <kfarrell_at_belgariad.com>
Date: Thu, 23 Jan 2003 17:53:13 GMT
Message-ID: <d_VX9.2155$LD1.168@newssvr19.news.prodigy.com>


Kamran Remin wrote:
> Hi NG,
>
> i want to create a table, but there seems to be a problem. when i write "foo
> number(2) not null default 0" oracle says:"ORA-00907: missing right
> parenthesis" if i write "foo number(2) not null default '0' " oracle
> says:"ORA-00907: missing right parenthesis"
>
> So what is the right way to write a line which contains "defalut 0" /
> "default '0' "?
>
> Regards,
> Kamran Remin
>
>

In my 8i scripts, I write it:

foo number(2) default 0 not null Received on Thu Jan 23 2003 - 11:53:13 CST

Original text of this message

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