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
What is the function that is used to transfer a pl/sql table log to a database table?
Can pl sql procedure have a return statement?
Do foreign keys improve performance?
Could you please provide oca (oracle 10g) dumps for my certification ?
What does partition by mean in sql?
how to get a list of all tables in a database? : Sql dba
What mean sql?
What is the difference between alter trigger and drop trigger statements?
What is view? Can we update view
Why does sql need a server?
What is mutating trigger?
What version is sql?
What are triggers and its uses?
Why self join is used in sql?
What is number function in sql?