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

Home -> Community -> Usenet -> c.d.o.server -> Re: Question about alter table

Re: Question about alter table

From: Hello_World <nix1_at_cuse15.se.cuhk.edu.hk>
Date: 28 Nov 2001 03:55:29 GMT
Message-ID: <9u1n7h$69b$1@eng-ser1.erg.cuhk.edu.hk>


Saira Somani <saira_somani_at_yahoo.com> wrote:
> ALTER TABLE table_name MODIFY column_name new_attributes;

> so yours would look something like this:

> ALTER TABLE tableA MODIFY (column1 number (10, 10));

When I try to use
ALTER TABLE tableName MODIFY cost number(10, 10); the following error occurs:

ORA-01440: column to be modified must be empty to decrease precision or scale

How can I solve this problem?

> Cheers,
> Saira
> mailto:saira_somani_at_yahoo.com

> "Hello_World" <nix1_at_cuse15.se.cuhk.edu.hk> wrote in message
> news:9u0t3i$pea$1_at_eng-ser1.erg.cuhk.edu.hk...

>> If I want to cahnge number(7,6) to number(10, 10)
>> what is the SQL command?
>>
>> alter tableName XXXXXXXXX
>> what is XXXXXXXX ?
Received on Tue Nov 27 2001 - 21:55:29 CST

Original text of this message

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