SQL Error: ORA-00904: : invalid identifier

Steffi picture Steffi · Mar 5, 2014 · Viewed 34.5k times · Source

I am an SQL rookie and I would very much appreciate some assistance on this rather basic issue.

alter table OCEAN_ANTENNE_TEMP
add column ANT_TILT_M number(5) not null,
ANT_FSC_ANT number(4,1) default 0;
/

why is this query giving me this error:

SQL Error: ORA-00904: : invalid identifier 00904. 00000 - "%s: invalid identifier"

Answer

simplify_life picture simplify_life · Mar 5, 2014

correct method is

alter table OCEAN_ANTENNE_TEMP 
add ( ANT_TILT_M number(5) not null, 
ANT_FSC_ANT number(4,1) default 0);