database - How to insert a column to an existing table? -


my table name userdetails

i want insert new column mob after location column.

i tried using code

alter table userdetails add mob varchar2(10) after location; 

but showing error

ora-01735: invalid alter table option

please me.

i using oracle10g.

try rid of "after"

alter table userdetails add ( mob varchar2(10) ) 

Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -