Create table emp
(id number(9), name varchar2(20),salary
number(9,2));
The table has 100 records after table created.Now i nee to
change id's Datatype is to be Varchar2(15). now
Alter table emp modify(id varchar2(15),name varchar2(20),
salary number(9,2));
Whether it will work or returns error? post answer with
explanation.
Answer Posted / rinson
It will raise error ora-1439 column to be modifiedy must be
empty to change datatype.
| Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
Can sql function call stored procedure?
What is program debugging?
what is a relationship and what are they? : Sql dba
how would you enter characters as hex numbers? : Sql dba
What is over () in sql?
List the various privileges that a user can grant to another user?
What is the difference between sql and mysql?
Does sql*plus also have a pl/sql engine?
What is a mutating table and a constraining table?
what is union, minus and interact commands? : Sql dba
Is join and inner join the same?
Which is faster view or stored procedure?
Can we perform dml in function?
When do we use triggers?
What is %type in sql?